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}"
-- 
2.5.0


_______________________________________________
SlackBuilds-users mailing list
[email protected]
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/

Reply via email to