From 1b86a60d7aca39c38ddee82daec10b054c258d51 Mon Sep 17 00:00:00 2001 From: Danomi Manchego Date: Tue, 19 Aug 2014 21:20:46 -0400 Subject: [PATCH] ntp: fix undefined variable in error print The variable "$SCRIPTNAME" is undefined; replace with "$0". Signed-off-by: Danomi Manchego Signed-off-by: Thomas Petazzoni --- package/ntp/S49ntp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ntp/S49ntp b/package/ntp/S49ntp index 6f9ec75045..5721f5948f 100755 --- a/package/ntp/S49ntp +++ b/package/ntp/S49ntp @@ -36,7 +36,7 @@ case "$1" in sleep 1 $0 start ;; - *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + *) echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac -- 2.30.2