aboutsummaryrefslogtreecommitdiff
path: root/init.d/fsck
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/fsck')
-rw-r--r--init.d/fsck3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.d/fsck b/init.d/fsck
index 34dd14c5..d07cec85 100644
--- a/init.d/fsck
+++ b/init.d/fsck
@@ -13,7 +13,6 @@ depend()
start()
{
- local retval=0 opts= root=
if [ "${RC_UNAME}" = "Linux" ]; then
opts="${opts} -A -C0 -T"
if echo 2>/dev/null >/.test.$$; then
@@ -23,7 +22,7 @@ start()
fi
ebegin "Checking local filesystems"
- fsck -p ${opts}
+ fsck ${fsck_args-p} ${opts}
case $? in
0) eend 0; return 0;;
1) ewend 1 "Filesystems repaired"; return 0;;