FreeBSD Bugzilla – Attachment 148290 Details for
Bug 194347
Return an error when rc service is not enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Return an error if service is not enabled.
rc-not-enabled-return.diff (text/plain), 497 bytes, created by
roy
on 2014-10-14 11:14:22 UTC
(
hide
)
Description:
Return an error if service is not enabled.
Filename:
MIME Type:
Creator:
roy
Created:
2014-10-14 11:14:22 UTC
Size:
497 bytes
patch
obsolete
>--- rc.subr.orig 2014-10-14 12:02:19.000000000 +0100 >+++ rc.subr 2014-10-14 12:03:15.000000000 +0100 >@@ -673,12 +673,12 @@ > [ -n "${rcvar}" -a "$rc_arg" = "stop" -a -z "${rc_pid}" ]; then > if ! checkyesno ${rcvar}; then > if [ -n "${rc_quiet}" ]; then >- return 0 >+ return 1 > fi > echo -n "Cannot '${rc_arg}' $name. Set ${rcvar} to " > echo -n "YES in /etc/rc.conf or use 'one${rc_arg}' " > echo "instead of '${rc_arg}'." >- return 0 >+ return 1 > fi > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194347
: 148290