chiark / gitweb /
tmpfiles: fix error check
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Jun 2013 13:57:42 +0000 (15:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Jun 2013 13:57:57 +0000 (15:57 +0200)
src/tmpfiles/tmpfiles.c

index f4885ec..555347a 100644 (file)
@@ -783,7 +783,7 @@ static int create_item(Item *i) {
 
                 r = glob_item(i, item_set_perms);
                 if (r < 0)
-                        return 0;
+                        return r;
                 break;
 
         case RECURSIVE_RELABEL_PATH: