diff --git a/bin/run.sh b/bin/run.sh index 23bc3b90..c7d2d35e 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -18,8 +18,12 @@ done # Stop the script if it's started as root 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" + cat <&2 +You shouldn't start Etherpad as root! +Please type 'Etherpad rocks my socks' (or restart with the '--root' +argument) if you still want to start it as root: +EOF + printf "> " >&2 read rocks [ "$rocks" = "Etherpad rocks my socks" ] || fatal "Your input was incorrect" fi