]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: remove spurious curly braces in create_item()
authorFranck Bui <fbui@suse.com>
Thu, 12 Apr 2018 10:18:19 +0000 (12:18 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 24 Apr 2018 09:57:48 +0000 (11:57 +0200)
src/tmpfiles/tmpfiles.c

index 9862e3402c758625292fdcb8035081b4510957ee..5755f22160bcd46754b13eb1f5b3e747d47ca2ff 100644 (file)
@@ -1451,8 +1451,7 @@ static int create_item(Item *i) {
                         return r;
                 break;
 
-        case COPY_FILES: {
-
+        case COPY_FILES:
                 RUN_WITH_UMASK(0000)
                         (void) mkdir_parents_label(i->path, 0755);
 
@@ -1625,7 +1624,6 @@ static int create_item(Item *i) {
                         return r;
 
                 break;
-        }
 
         case CREATE_SYMLINK: {
                 RUN_WITH_UMASK(0000)