FreeBSD Bugzilla – Attachment 118804 Details for
Bug 161168
security/barnyard2 update: multi-conf might break status/restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 677 bytes, created by
Michael Scheidell
on 2011-09-30 19:30:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Michael Scheidell
Created:
2011-09-30 19:30:05 UTC
Size:
677 bytes
patch
obsolete
>--- /tmp/files/barnyard2.sh.in 2011-09-30 11:36:19.000000000 -0400 >+++ /files/barnyard2.sh.in 2011-09-30 14:16:30.000000000 -0400 >@@ -37,13 +37,18 @@ > load_rc_config $name > > if [ -n "${barnyard2_rules}" ];then >+ _1=$1 >+ rc=0 >+ if [ $# -gt 1 ];then shift; barnyard2_rules=$*; fi > for i in ${barnyard2_rules}; do > echo -n "$i:" > eval barnyard2_flags=\$barnyard2_${i}_flags > eval pidfile=\$barnyard2_${i}_pidfile > eval barnyard2_conf=\$barnyard2_${i}_conf > command_args="-c $barnyard2_conf -D" >- run_rc_command "$1" >+ run_rc_command "$_1" >+ if [ $? -ne 0 ];then rc=1 ; fi >+ unset _pidcmd _rc_restart_done > done > else > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 161168
: 118804