fix(Bash/simple-restarter): always show the correct command name (#3996)

This commit is contained in:
Francesco Borzì 2020-12-22 15:54:57 +01:00 committed by GitHub
parent 1f5babf0a6
commit 46d6a4690b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ _instant_crash_count=0
_restart_count=0
if [ "$#" -ne 2 ]; then
echo "Usage: simple-restarter path filename"
echo "Example: simple-restarter $HOME/azeroth-server/bin worldserver"
echo "Usage: $0 path filename"
echo "Example: $0 $HOME/azeroth-server/bin worldserver"
exit 1
fi