Skip to content

Commit

Permalink
limited maximum number of instances
Browse files Browse the repository at this point in the history
  • Loading branch information
ESteanes committed Aug 15, 2021
1 parent 4413d5c commit 25ca3c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions multiple_mopidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ while getopts ":H:N:O:V:rhv" option; do
then
echo "Please specify a number greater than 0"
exit 1
elif test $numInstance -gt 9
then
echo "Please specify a number less than 10"
exit 1
fi
;;
O)
Expand Down

0 comments on commit 25ca3c5

Please sign in to comment.