[systemd-commits] src/fsck.c

Kay Sievers kay at kemper.freedesktop.org
Fri Oct 29 12:05:40 PDT 2010


 src/fsck.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f6aaf1bddaed6a0393fc445af60ee19fa73fabf
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Fri Oct 29 21:05:00 2010 +0200

    fsck: return SUCCESS when we skip the check

diff --git a/src/fsck.c b/src/fsck.c
index 3c1652b..5574c0a 100644
--- a/src/fsck.c
+++ b/src/fsck.c
@@ -189,7 +189,7 @@ int main(int argc, char *argv[]) {
                 times[1] = st.st_mtim;
                 if (utimensat(AT_FDCWD, "/", times, 0) == 0) {
                         log_error("Root directory is writable, skip check.");
-                        goto finish;
+                        return 0;
                 }
 
                 if (!(udev = udev_new())) {



More information about the systemd-commits mailing list