aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-01-27 14:02:30 +0100
committerThomas Bächler <thomas@archlinux.org>2011-01-27 14:02:30 +0100
commitf4703f832e6d8578c52dd8a71b9bf34894fe3d34 (patch)
treee4ac2b5163a6ceced15c857afff051912eb52c10 /functions
parentc1f38e1186a60a2d63947881d2879c22fc375da4 (diff)
downloadinitscripts-f4703f832e6d8578c52dd8a71b9bf34894fe3d34.tar.xz
Fix crypttab option column processing.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 7700709..9cec7a0 100644
--- a/functions
+++ b/functions
@@ -272,7 +272,7 @@ read_crypttab() {
while read line; do
[[ $line && ${line:0:1} != '#' ]] || continue
eval nspo=("${line%#*}")
- $1 "${nspo[0]}" "${nspo[1]}" "${nspo[2]}" "${nspo[@]:3}" || failed=1
+ $1 "${nspo[0]}" "${nspo[1]}" "${nspo[2]}" "${nspo[*]:3}" || failed=1
done < /etc/crypttab
return $failed
}