Skip to content

Commit

Permalink
Remove -n option on read command
Browse files Browse the repository at this point in the history
  • Loading branch information
neuroevolutus committed Sep 6, 2018
1 parent 2da37d1 commit 33db2ad
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 33db2ad

Please sign in to comment.