]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssh: fix initscript restart command
authorMarc Ferland <ferlandm@sonatest.com>
Thu, 27 Jun 2013 22:53:40 +0000 (18:53 -0400)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jul 2013 15:28:30 +0000 (16:28 +0100)
start-stop-daemon should be called with '--oknodo' instead of
'-oknodo'.

(From OE-Core master rev: 40f65a76b3291ae625c072a8efebbf134b15c367)

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssh/openssh-6.1p1/init

index cde52ef3f4aa9ff99df335889999d2150708c4f8..6beec848dfb5744b0922aed64609aa7368a975bd 100644 (file)
@@ -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