Skip to content

Commit

Permalink
fsck: fix typo
Browse files Browse the repository at this point in the history
X-Gentoo-Bug: 467158
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
  • Loading branch information
eshkrig authored and williamh committed Apr 27, 2013
1 parent c984506 commit 10eabd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.d/fsck.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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;;
Expand Down

0 comments on commit 10eabd4

Please sign in to comment.