summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-06-21 15:57:42 +0200
committerLennart Poettering <lennart@poettering.net>2013-06-21 15:57:57 +0200
commit96ca81944e40d9bc75d8599e216ee3babe0f5f81 (patch)
tree0ab3a222e2fce792aba03bc48faf24db45984b0a /src/tmpfiles
parent7f1ad696a273703789b624fe0b209fb63e953016 (diff)
tmpfiles: fix error check
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index f4885ec942..555347ac36 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -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: