All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print
@ 2014-08-20  1:20 Danomi Manchego
  2014-08-20  1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
  2014-08-21 13:23 ` [Buildroot] [PATCH 1/2] ntp: " Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Danomi Manchego @ 2014-08-20  1:20 UTC (permalink / raw)
  To: buildroot

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(-)

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-21 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20  1:20 [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print Danomi Manchego
2014-08-20  1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
2014-08-21 10:08   ` Yann E. MORIN
2014-08-21 13:23 ` [Buildroot] [PATCH 1/2] ntp: " Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.