From be1f2152fca1cb3babe9c426586e53c6cbadd4f3 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 14 May 2020 19:23:40 -0400 Subject: [PATCH] bin: Use single equals sign for string comparison Double equals is a non-POSIX bashism. --- bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run.sh b/bin/run.sh index 74fa56d68..9f7510b5d 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