diff options
Diffstat (limited to 'src/cmd/mkinitramfs.sh')
-rw-r--r-- | src/cmd/mkinitramfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/mkinitramfs.sh b/src/cmd/mkinitramfs.sh index 41e6327..3177071 100644 --- a/src/cmd/mkinitramfs.sh +++ b/src/cmd/mkinitramfs.sh @@ -31,7 +31,7 @@ cmd_mkinitramfs_main() print_cmd_usage 'mkinitramfs' >&2 return 1 fi - shift $(($OPTIND - 1)) + shift $((${OPTIND} - 1)) if [ "x${cmd_mkinitramfs_opt_l-}" = 'x' ]; then print_cmd_usage 'mkinitramfs' >&2 |