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>
This commit is contained in:
parent
520e74f2b5
commit
1b86a60d7a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue