mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 20:26:49 +02:00
bin: Use single equals sign for string comparison
Double equals is a non-POSIX bashism.
This commit is contained in:
parent
9ffb2ccfb0
commit
be1f2152fc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user