summaryrefslogtreecommitdiff
path: root/src/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsck.c')
-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())) {