FreeBSD Bugzilla – Attachment 253822 Details for
Bug 281701
net/isc-dhcp44-server: restart fails with certain values of dhcpd_flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Remove the problematic logic
file_281701.txt (text/plain), 834 bytes, created by
Dag-Erling Smørgrav
on 2024-09-25 17:44:47 UTC
(
hide
)
Description:
Remove the problematic logic
Filename:
MIME Type:
Creator:
Dag-Erling Smørgrav
Created:
2024-09-25 17:44:47 UTC
Size:
834 bytes
patch
obsolete
>diff --git a/net/isc-dhcp44-server/files/isc-dhcpd.in b/net/isc-dhcp44-server/files/isc-dhcpd.in >index b92fad444b43..018f21940131 100644 >--- a/net/isc-dhcp44-server/files/isc-dhcpd.in >+++ b/net/isc-dhcp44-server/files/isc-dhcpd.in >@@ -499,15 +499,9 @@ dhcpd_restartprecmd () > > dhcpd_checkconfig () > { >- local rc_flags_mod > setup_flags >- rc_flags_mod="$rc_flags" >- # Eliminate '-q' flag if it is present >- case "$rc_flags" in >- *-q*) rc_flags_mod=`echo "${rc_flags}" | sed -Ee 's/(^-q | -q | -q$)//'` ;; >- esac >- if ! ${command} -t -q ${rc_flags_mod}; then >- err 1 "`${command} -t ${rc_flags_mod}` Configuration file sanity check failed" >+ if ! ${command} -t -q ${rc_flags}; then >+ err 1 "Configuration file sanity check failed" > fi > } >
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 Raw
Actions:
View
Attachments on
bug 281701
:
253805
|
253822
|
253837