1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Fix the return value of the rc.d script

PR:             ports/143086
Submitted by:   Emil Smolenski <am@raisa.eu.org>
Approved by:    Boris Kovalenko <boris@tagnet.ru> (maintainer)
This commit is contained in:
Philip M. Gollucci 2010-02-01 17:45:31 +00:00
parent ddfe33e5f7
commit bbbada6ae5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249044
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.15
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \

View File

@ -54,6 +54,8 @@ stop_postcmd()
do_cmd()
{
local ret
ret=0
for daemon in ${quagga_daemons}; do
command=%%PREFIX%%/sbin/${daemon}
required_files=%%SYSCONF_DIR%%/${daemon}.conf
@ -66,9 +68,10 @@ do_cmd()
fi
eval flags=\$\{${daemon}_flags:-\"${quagga_flags}\"\}
name=${daemon}
run_rc_command "$1"
_rc_restart_done=false
run_rc_command "$1" || ret=1
done
return ${ret}
}
# set defaults