summaryrefslogtreecommitdiff
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
parentc984506537fbb8a3adefd2d57dd4dc831eeb79c3 (diff)
downloadopenrc-10eabd4d921cea895b8f9bde47f29d107f39fa0b.tar.gz
openrc-10eabd4d921cea895b8f9bde47f29d107f39fa0b.tar.bz2
openrc-10eabd4d921cea895b8f9bde47f29d107f39fa0b.tar.xz
fsck: fix typo
X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
-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 8c460f7..7a91fcd 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;;