Skip to contentSkip to conversation

openssh: fix initscript restart command

PATCH New Marc Ferland 1 participant 1 message Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssh: fix initscript restart command

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

---
 meta/recipes-connectivity/openssh/openssh-6.2p2/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/openssh/openssh-6.2p2/init +1 -1
index cde52ef..6beec84 100644
@@ -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
Signature · 1 line
1.8.1.2