summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanomi Manchego <danomimanchego123@gmail.com>2014-08-19 21:20:46 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-21 15:22:47 +0200
commit1b86a60d7aca39c38ddee82daec10b054c258d51 (patch)
treea307f27f980c1ce673c56c9184823f3d05a99531
parent520e74f2b5cd70ff92da4e8c64fdaae144525232 (diff)
downloadbuildroot-1b86a60d7aca39c38ddee82daec10b054c258d51.tar.gz
buildroot-1b86a60d7aca39c38ddee82daec10b054c258d51.zip
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>
-rwxr-xr-xpackage/ntp/S49ntp2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud