summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2012-07-27 11:06:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-17 18:04:10 +0100
commit7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0 (patch)
tree56ac2217f8ede9f698eb7a155015a269230f7de1 /meta/recipes-connectivity
parent8007bbf0bd8ef379340c75370fcdb29e367e5682 (diff)
downloadopenembedded-core-7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0.tar.gz
openembedded-core-7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0.tar.bz2
openembedded-core-7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0.zip
openssh: openssh's init fails to restart if sshd is not running
openssh: openssh's init fails to restart if sshd is not running Because of "set -e", it's necessary to specify the -o (or --oknodo) so that start-stop-daemon returns an exit status of 0 if no actions are taken. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssh/openssh-6.0p1/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.0p1/init b/meta/recipes-connectivity/openssh/openssh-6.0p1/init
index 055dd22e1b..cde52ef3f4 100644
--- a/meta/recipes-connectivity/openssh/openssh-6.0p1/init
+++ b/meta/recipes-connectivity/openssh/openssh-6.0p1/init
@@ -76,7 +76,7 @@ case "$1" in
check_keys
check_config
echo -n "Restarting OpenBSD Secure Shell server: sshd"
- start-stop-daemon -K -x /usr/sbin/sshd
+ start-stop-daemon -K -oknodo -x /usr/sbin/sshd
check_for_no_start
check_privsep_dir
sleep 2