[Slackbuilds-users] [PATCH] network/bitlbee: Correct "restart" in rc.bitlbee

Willy Sudiarto Raharjo willysr at slackbuilds.org
Fri Aug 28 23:33:08 UTC 2015


> The included "restart" function of rc.bitlbee attempts to start bitlbee
> and then stop it, instead of stopping and then starting it.
> This patch corrects the problem.
> ---
>  network/bitlbee/rc.bitlbee | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/network/bitlbee/rc.bitlbee b/network/bitlbee/rc.bitlbee
> index 5f0ef7a..ba5dbc9 100644
> --- a/network/bitlbee/rc.bitlbee
> +++ b/network/bitlbee/rc.bitlbee
> @@ -59,9 +59,9 @@ case "$1" in
>      bitlbee_stop
>      ;;
>    restart)
> -    bitlbee_start
> -    sleep 3
>      bitlbee_stop
> +    sleep 3
> +    bitlbee_start
>      ;;
>    *)
>      echo "Usage: $(basename $0) {start|stop|restart}"

Fixed in my branch

thanks


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150829/839d1121/attachment.asc>


More information about the SlackBuilds-users mailing list