From 46d6a4690b7bbf02373a056798435e774ad0b242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Tue, 22 Dec 2020 15:54:57 +0100 Subject: [PATCH] fix(Bash/simple-restarter): always show the correct command name (#3996) --- apps/startup-scripts/simple-restarter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/startup-scripts/simple-restarter b/apps/startup-scripts/simple-restarter index c7026d89e..dc04ce074 100755 --- a/apps/startup-scripts/simple-restarter +++ b/apps/startup-scripts/simple-restarter @@ -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