summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-10-29 21:05:00 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-10-29 21:05:00 +0200
commit0f6aaf1bddaed6a0393fc445af60ee19fa73fabf (patch)
tree3f185dd5b9d925130f1a3977409f970ec4b0f1e6
parenta84f519214bf245052ad6be7b57fb68ac817cb7e (diff)
fsck: return SUCCESS when we skip the check
-rw-r--r--src/fsck.c2
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())) {