mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
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, ...
This commit is contained in:
parent
6b40961fc8
commit
376fccfe92
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if [ "$(id -u)" -eq 0 ] && [ $ignoreRoot -eq 0 ]; then
|
||||||
echo "You shouldn't start Etherpad as root!"
|
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"
|
echo "Please type 'Etherpad rocks my socks' or supply the '--root' argument if you still want to start it as root"
|
||||||
read rocks
|
read rocks
|
||||||
if [ ! $rocks = "Etherpad rocks my socks" ]
|
if [ ! "$rocks" == "Etherpad rocks my socks" ]
|
||||||
then
|
then
|
||||||
echo "Your input was incorrect"
|
echo "Your input was incorrect"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue