Explorar o código

ntp: fix undefined variable in error print

The variable "$SCRIPTNAME" is undefined; replace with "$0".

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Danomi Manchego %!s(int64=11) %!d(string=hai) anos
pai
achega
1b86a60d7a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/ntp/S49ntp

+ 1 - 1
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