Merge pull request #2703 from LaKing/patch-1

run.sh [: too many arguments
This commit is contained in:
John McLear 2015-06-22 15:25:35 +01:00
commit 95ca936dd7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ if [ "$(id -u)" -eq 0 ] && [ $ignoreRoot -eq 0 ]; then
echo "You shouldn't start Etherpad as root!"
echo "Please type 'Etherpad rocks my socks' or supply the '--root' argument if you still want to start it as root"
read rocks
if [ ! $rocks = "Etherpad rocks my socks" ]
if [ ! "$rocks" == "Etherpad rocks my socks" ]
then
echo "Your input was incorrect"
exit 1