fsck: fix typo
X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
This commit is contained in:
parent
c984506537
commit
10eabd4d92
@ -76,7 +76,7 @@ start()
|
|||||||
[ "${skiptypes}" = "no," ] && skiptypes=""
|
[ "${skiptypes}" = "no," ] && skiptypes=""
|
||||||
fsck_opts="$fsck_opts -C0 -T -t ${skiptypes}noopts=_netdev"
|
fsck_opts="$fsck_opts -C0 -T -t ${skiptypes}noopts=_netdev"
|
||||||
if [ -z "$fsck_passno" -a -z "$fsck_mnt" ]; then
|
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
|
if echo 2>/dev/null >/.test.$$; then
|
||||||
rm -f /.test.$$
|
rm -f /.test.$$
|
||||||
fsck_opts="$fsck_opts -R"
|
fsck_opts="$fsck_opts -R"
|
||||||
@ -85,7 +85,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
trap : INT QUIT
|
trap : INT QUIT
|
||||||
fsck ${fsck_args--p} $fsck_opts "$@"
|
fsck ${fsck_args:--p} $fsck_opts "$@"
|
||||||
case $? in
|
case $? in
|
||||||
0) eend 0; return 0;;
|
0) eend 0; return 0;;
|
||||||
1) ewend 1 "Filesystems repaired"; return 0;;
|
1) ewend 1 "Filesystems repaired"; return 0;;
|
||||||
|
Loading…
Reference in New Issue
Block a user