Commit e149170d authored by Natanael Copa's avatar Natanael Copa

setup-disk: fix typo in the option handling

parent a0be4363
......@@ -401,7 +401,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment