From: Danomi Manchego Date: Wed, 20 Aug 2014 01:20:46 +0000 (-0400) Subject: ntp: fix undefined variable in error print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b86a60d7aca39c38ddee82daec10b054c258d51;p=buildroot.git 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 --- 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