Skip to content

Commit

Permalink
fix parameter logic
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-maier-mw committed Oct 21, 2017
1 parent 76cb8d8 commit 82fa4d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ SETUP_MNODES_COUNT=${2}
CRYPTOS=`ls -l config/ | egrep '^d' | awk '{print $9}'`

# put in main at a later point in time
if [ "$#" -ne 1 ]
if (( $# < 1 ));
then
echo "Please provide a shortname to install a masternode: ..."
echo "Supported crypto projects:"
echo "${CRYPTOS}"
echo "************************************"
echo "Supported crypto projects:"
echo "${CRYPTOS}"
echo "************************************"
exit 1
fi

Expand Down

0 comments on commit 82fa4d4

Please sign in to comment.