fix(quickemu): resolve shellcheck SC2317 info about usage()

https://www.shellcheck.net/wiki/SC2317
This commit is contained in:
Martin Wimpress 2024-05-09 04:10:23 +01:00 committed by Martin Wimpress
parent aca168be60
commit 84c71e9cfc
1 changed files with 0 additions and 3 deletions

View File

@ -1647,7 +1647,6 @@ fi
# Take command line arguments # Take command line arguments
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
usage usage
exit 0
else else
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case "${1}" in case "${1}" in
@ -1687,12 +1686,10 @@ else
else else
echo "screenpct invalid must be 25 <= pct < 100" echo "screenpct invalid must be 25 <= pct < 100"
usage usage
exit 1
fi fi
else else
echo "screenpct needs to be an integer in range 25 <= pct < 100" echo "screenpct needs to be an integer in range 25 <= pct < 100"
usage usage
exit 1
fi fi
shift shift
shift;; shift;;