chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a84f519
)
fsck: return SUCCESS when we skip the check
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 29 Oct 2010 19:05:00 +0000
(21:05 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 29 Oct 2010 19:05:00 +0000
(21:05 +0200)
src/fsck.c
patch
|
blob
|
history
diff --git
a/src/fsck.c
b/src/fsck.c
index 3c1652bc223ab7cf4b4912f16105d0adfe0d21a1..5574c0a9c01ec502a7f000082d81ae794963fcfa 100644
(file)
--- 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.");
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())) {
}
if (!(udev = udev_new())) {