Patchwork openssl: fix init.d restart function

login
register
mail settings
Submitter Francesco Del Degan
Date July 3, 2013, 2:09 p.m.
Message ID <87r4ffenwf.fsf@endian.com>
Download mbox | patch
Permalink /patch/52897/
State New
Headers show

Comments

Francesco Del Degan - July 3, 2013, 2:09 p.m.
Adds a missing dash in the oknodo option function.

Signed-off-by: Francesco Del Degan <f.deldegan@endian.com>
---
 meta/recipes-connectivity/openssh/openssh-6.1p1/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Saul Wold - July 3, 2013, 2:15 p.m.
On 07/03/2013 07:09 AM, Francesco Del Degan wrote:
>
> Adds a missing dash in the oknodo option function.
>
This was recently submitted by Marc Frerland also and is now in master.

Sau!

> Signed-off-by: Francesco Del Degan <f.deldegan@endian.com>
> ---
>   meta/recipes-connectivity/openssh/openssh-6.1p1/init | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/openssh/openssh-6.1p1/init
> b/meta/recipes-connectivity/openssh/openssh-6.1p1/init
> index cde52ef..6beec84 100644
> --- a/meta/recipes-connectivity/openssh/openssh-6.1p1/init
> +++ b/meta/recipes-connectivity/openssh/openssh-6.1p1/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
>

Patch

diff --git a/meta/recipes-connectivity/openssh/openssh-6.1p1/init
b/meta/recipes-connectivity/openssh/openssh-6.1p1/init
index cde52ef..6beec84 100644
--- a/meta/recipes-connectivity/openssh/openssh-6.1p1/init
+++ b/meta/recipes-connectivity/openssh/openssh-6.1p1/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