summaryrefslogtreecommitdiff
path: root/bin/run.sh
diff options
context:
space:
mode:
authorIstván Király <LaKing@D250.hu>2015-06-22 16:11:29 +0200
committerIstván Király <LaKing@D250.hu>2015-06-22 16:11:29 +0200
commit376fccfe92db84625edbf4807592c50805cf82f4 (patch)
tree892c3e877c0cb4e2964e5c257d5e5fd407d1d7fc /bin/run.sh
parent6b40961fc8fd360a9cce7a1df98147181ac9097a (diff)
downloadetherpad-lite-376fccfe92db84625edbf4807592c50805cf82f4.zip
bugfix for correct bash syntax
$rocks has to be enclosed into a "string" so bash can treat is as a string. We can compare two strings with the == operator then, ...
Diffstat (limited to 'bin/run.sh')
-rwxr-xr-xbin/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/run.sh b/bin/run.sh
index f2162310..4d276632 100755
--- a/bin/run.sh
+++ b/bin/run.sh
@@ -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