diff options
author | Amy Fong <amy.fong@windriver.com> | 2012-07-27 11:06:55 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-17 18:04:10 +0100 |
commit | 7e44d2e8457c9c90932ce4f0fd95c67b74efb2e0 (patch) | |
tree | 56ac2217f8ede9f698eb7a155015a269230f7de1 /meta | |
parent | 8007bbf0bd8ef379340c75370fcdb29e367e5682 (diff) | |
download | openembedded-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')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh-6.0p1/init | 2 |
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 |