summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Ferland <ferlandm@sonatest.com>2013-06-27 18:53:40 -0400
committerSaul Wold <sgw@linux.intel.com>2013-07-02 07:58:08 -0700
commit40f65a76b3291ae625c072a8efebbf134b15c367 (patch)
tree37caa320fdb48a613e081375e495b48279f96a0b
parentbbbb5f3816a8851d4af713db304b45d9ecb9820d (diff)
downloadopenembedded-core-40f65a76b3291ae625c072a8efebbf134b15c367.tar.gz
openembedded-core-40f65a76b3291ae625c072a8efebbf134b15c367.tar.bz2
openembedded-core-40f65a76b3291ae625c072a8efebbf134b15c367.zip
openssh: fix initscript restart command
start-stop-daemon should be called with '--oknodo' instead of '-oknodo'. Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-connectivity/openssh/openssh-6.2p2/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/init b/meta/recipes-connectivity/openssh/openssh-6.2p2/init
index cde52ef3f4..6beec848df 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