summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-03-21 13:06:29 +0100
committerTom Gundersen <teg@jklm.no>2012-03-21 13:06:29 +0100
commit650aa0db2bb92b6751461baf71df169dfd107cab (patch)
treeeb1069169b6625757c3f535fafce1e1c96ef2912 /functions
parente980b8e52b52c176fa1f3fa80d62b5231b4395f4 (diff)
fsck: add return value2012.03.1
Reported-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 04b7ec4..f59f9dd 100644
--- a/functions
+++ b/functions
@@ -497,7 +497,7 @@ fsck_all() {
[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-f"
if [[ ! -n $FORCEFSCK ]] && { [[ -f /fastboot ]] || in_array fastboot $(< /proc/cmdline); }; then
- return
+ return 0
fi
if [[ -e /run/initramfs/root-fsck ]]; then