aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorEugeny Shkrigunov <eshkrig@gmail.com>2013-04-27 10:26:37 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-04-27 10:26:37 -0500
commit10eabd4d921cea895b8f9bde47f29d107f39fa0b (patch)
tree50236500750b45c43fc20839405760326f02724b /init.d
parentc984506537fbb8a3adefd2d57dd4dc831eeb79c3 (diff)
fsck: fix typo
X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index 8c460f71..7a91fcd1 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -76,7 +76,7 @@ start()
[ "${skiptypes}" = "no," ] && skiptypes=""
fsck_opts="$fsck_opts -C0 -T -t ${skiptypes}noopts=_netdev"
if [ -z "$fsck_passno" -a -z "$fsck_mnt" ]; then
- fsck_args=${fsck_args--A -p}
+ fsck_args=${fsck_args:--A -p}
if echo 2>/dev/null >/.test.$$; then
rm -f /.test.$$
fsck_opts="$fsck_opts -R"
@@ -85,7 +85,7 @@ start()
fi
trap : INT QUIT
- fsck ${fsck_args--p} $fsck_opts "$@"
+ fsck ${fsck_args:--p} $fsck_opts "$@"
case $? in
0) eend 0; return 0;;
1) ewend 1 "Filesystems repaired"; return 0;;