aboutsummaryrefslogtreecommitdiffstats
path: root/setup-disk.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 1e8e758..96e8e99 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -419,7 +419,7 @@ while getopts "hk:o:r" opt; do
*) usage;;
esac
done
-shift $(( OPTIND - 1))
+shift $(( $OPTIND - 1))
if [ -d "$1" ]; then
# install to given mounted root