Skip to content

Commit

Permalink
Merge pull request #1 from neuroevolutus/master
Browse files Browse the repository at this point in the history
Remove -n option on read command
  • Loading branch information
bobbicodes authored Sep 13, 2018
2 parents 2da37d1 + 33db2ad commit 1429ba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mecca
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo "Ctrl+C to quit"
echo "1 - New song"
echo "2 - Load song"
echo -n "> "
read -n1 launch
read launch
echo ""
if [ "$launch" = "1" ]; then
echo "Name your song:"
Expand All @@ -29,6 +29,7 @@ elif [ "$launch" = "2" ]; then
read song
echo ""
else
echo "Please enter the number 1 or 2."
exit 1
fi

Expand Down

0 comments on commit 1429ba0

Please sign in to comment.