]> err.no Git - systemd/commitdiff
tmpfiles: fix error message
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 17 Apr 2012 20:53:35 +0000 (22:53 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Apr 2012 15:12:27 +0000 (17:12 +0200)
src/tmpfiles/tmpfiles.c

index 5db827eca204e4b9fbdff86e9ca35f0c23bddb39..d8fcb4015544a691198f4dac5727ad815f73d7ac 100644 (file)
@@ -1291,8 +1291,8 @@ int main(int argc, char *argv[]) {
                                     "/usr/lib/tmpfiles.d",
                                     NULL);
                 if (r < 0) {
-                        r = EXIT_FAILURE;
                         log_error("Failed to enumerate tmpfiles.d files: %s", strerror(-r));
+                        r = EXIT_FAILURE;
                         goto finish;
                 }