diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-10-29 21:05:00 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-10-29 21:05:00 +0200 |
commit | 0f6aaf1bddaed6a0393fc445af60ee19fa73fabf (patch) | |
tree | 3f185dd5b9d925130f1a3977409f970ec4b0f1e6 | |
parent | a84f519214bf245052ad6be7b57fb68ac817cb7e (diff) |
fsck: return SUCCESS when we skip the check
-rw-r--r-- | src/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck.c b/src/fsck.c index 3c1652bc22..5574c0a9c0 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())) { |