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:
Danomi Manchego 2014-08-19 21:20:46 -04:00 committed by Thomas Petazzoni
parent 520e74f2b5
commit 1b86a60d7a
1 changed files with 1 additions and 1 deletions

View File

@ -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