diff options
author | erdgeist <erdgeist@erdgeist.org> | 2007-10-08 05:24:45 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2007-10-08 05:24:45 +0000 |
commit | 32f4547b22f5b6d6b871ebb4806126b36430e610 (patch) | |
tree | 9683244f1bdfbc6bd5cf67e0006dc21ba9767cfe /ezjail-admin | |
parent | 96478770ebe048cec19a378e3d84b1ebb5538489 (diff) |
In a function we must not shift positional parameters
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index e2bced3..41d9e89 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -250,7 +250,6 @@ parse_geli_attach_args () { | |||
250 | # everything else is dicarded | 250 | # everything else is dicarded |
251 | # exit values: 0->NO PASSWORD SET, 1->PASSWORD SET | 251 | # exit values: 0->NO PASSWORD SET, 1->PASSWORD SET |
252 | _exit=0 | 252 | _exit=0 |
253 | shift | ||
254 | while getopts :bPva:i:K:l:s: arg; do | 253 | while getopts :bPva:i:K:l:s: arg; do |
255 | case ${arg} in | 254 | case ${arg} in |
256 | b|v|a|i|l|s);; # ignore these | 255 | b|v|a|i|l|s);; # ignore these |
@@ -270,7 +269,6 @@ parse_gbde_attach_args () { | |||
270 | # everything else is discarded | 269 | # everything else is discarded |
271 | # exit values: 0->NO PASSWORD SET, 1->PASSWORD SET | 270 | # exit values: 0->NO PASSWORD SET, 1->PASSWORD SET |
272 | _exit=0 | 271 | _exit=0 |
273 | shift | ||
274 | while getopts :iK:f:L:P: arg; do | 272 | while getopts :iK:f:L:P: arg; do |
275 | case ${arg} in | 273 | case ${arg} in |
276 | i|f);; # ignore these | 274 | i|f);; # ignore these |