openssl: fix init.d restart function

Submitted by Francesco Del Degan on July 3, 2013, 2:09 p.m.

Details

Message ID 87r4ffenwf.fsf@endian.com
State New
Headers show

Commit Message

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(-)

Patch hide | download patch | download mbox

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

Comments

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
>