summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-25 22:30:31 +0000
committerRoy Marples <roy@marples.name>2008-05-25 22:30:31 +0000
commit08081f7ef4d9d91093cafa4f61b6f4f7b97e200a (patch)
treeae7ab0e92c24b39fb46117d75620d714edc4ff30
parent8ca8e00a89733603abba83fe8eb8c5aa428535c8 (diff)
downloadopenrc-08081f7ef4d9d91093cafa4f61b6f4f7b97e200a.tar.gz
openrc-08081f7ef4d9d91093cafa4f61b6f4f7b97e200a.tar.bz2
openrc-08081f7ef4d9d91093cafa4f61b6f4f7b97e200a.tar.xz
Fix passno and IFS, #77 and #85, thanks to Nahor
-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 6ba430f..e8a6581 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -3,7 +3,7 @@
# All rights reserved. Released under the 2-clause BSD license.
description="Check and repair filesystems according to /etc/fstab"
-_ISF="
+_IFS="
"
depend()
@@ -47,7 +47,7 @@ start()
case "${p}" in
[0-9]*) p="=${p}";;
esac
- set -- "$@" "$(fstabinfo --passno "${p}")"
+ set -- "$@" $(fstabinfo --passno "${p}")
unset IFS
done