mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +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:
parent
ddfe33e5f7
commit
bbbada6ae5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249044
@ -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/ \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user