[blfs-book] r10335 - in trunk/bootscripts: . blfs/init.d

Fernando de Oliveira famobr at yahoo.com.br
Mon Jun 18 09:01:14 PDT 2012


Em 17-06-2012 05:47, dj at linuxfromscratch.org escreveu:> Author: dj
> Date: 2012-06-17 02:47:26 -0600 (Sun, 17 Jun 2012)
> New Revision: 10335
> 
> Modified:
>    trunk/bootscripts/ChangeLog
>    trunk/bootscripts/blfs/init.d/sshd
> Log:
> Correct sshd return value.
> 

[...]

> Modified: trunk/bootscripts/blfs/init.d/sshd
> ===================================================================
> --- trunk/bootscripts/blfs/init.d/sshd	2012-06-17 00:12:16 UTC (rev 10334)
> +++ trunk/bootscripts/blfs/init.d/sshd	2012-06-17 08:47:26 UTC (rev 10335)
> @@ -41,11 +41,7 @@
>  
>      stop)
>          log_info_msg "Stopping SSH Server..."
> -        
> -        if [ -e "/run/sshd.pid" ]; then
> -           killproc -p "/run/sshd.pid" /usr/sbin/sshd
> -        else
> -           (exit 1)
> +        killproc -p "/run/sshd.pid" /usr/sbin/sshd
>          fi

DJ, is this remaining "fi" correct?

>          
>          evaluate_retval
> 


-- 
[]s,
Fernando



More information about the blfs-book mailing list