Message ID | 1408497647-2258-1-git-send-email-danomimanchego123@gmail.com |
---|---|
State | Accepted |
Headers | show |
Dear Danomi Manchego, On Tue, 19 Aug 2014 21:20:46 -0400, Danomi Manchego wrote: > The variable "$SCRIPTNAME" is undefined; replace with "$0". > > Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> > --- > package/ntp/S49ntp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This patch, and the similar patch for tvheadend, applied. Thanks! Thomas
diff --git a/package/ntp/S49ntp b/package/ntp/S49ntp index 6f9ec75..5721f59 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
The variable "$SCRIPTNAME" is undefined; replace with "$0". Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> --- package/ntp/S49ntp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)