Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] openssh: fix initscript restart command
@ 2013-06-27 22:53 Marc Ferland
  0 siblings, 0 replies; only message in thread
From: Marc Ferland @ 2013-06-27 22:53 UTC (permalink / raw)
  To: openembedded-core

start-stop-daemon should be called with '--oknodo' instead of
'-oknodo'.

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
---
 meta/recipes-connectivity/openssh/openssh-6.2p2/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/init b/meta/recipes-connectivity/openssh/openssh-6.2p2/init
index cde52ef..6beec84 100644
--- a/meta/recipes-connectivity/openssh/openssh-6.2p2/init
+++ b/meta/recipes-connectivity/openssh/openssh-6.2p2/init
@@ -76,7 +76,7 @@ case "$1" in
   	check_keys
 	check_config
         echo -n "Restarting OpenBSD Secure Shell server: sshd"
-	start-stop-daemon -K -oknodo -x /usr/sbin/sshd
+	start-stop-daemon -K --oknodo -x /usr/sbin/sshd
 	check_for_no_start
 	check_privsep_dir
 	sleep 2
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-27 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 22:53 [PATCH] openssh: fix initscript restart command Marc Ferland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox