FreeBSD Bugzilla – Attachment 170212 Details for
Bug 209454
www/tomcat6: rc-script status/stop fail if pid has less than 5 digits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch the rc-script template to ignore whitespace in front of pid output
tomcat6.rc.patch (text/plain), 476 bytes, created by
wolfgang
on 2016-05-11 13:42:16 UTC
(
hide
)
Description:
patch the rc-script template to ignore whitespace in front of pid output
Filename:
MIME Type:
Creator:
wolfgang
Created:
2016-05-11 13:42:16 UTC
Size:
476 bytes
patch
obsolete
>Index: www/tomcat6/files/tomcat6.in >=================================================================== >--- www/tomcat6/files/tomcat6.in (revision 414992) >+++ www/tomcat6/files/tomcat6.in (working copy) >@@ -168,7 +168,7 @@ > debug "pid file ($_pidfile): no pid in file." > return > fi >- if [ -n "`/usr/bin/procstat -c $_pid | grep -e "^$_pid.*$java_class"`" ]; then >+ if [ -n "`/usr/bin/procstat -c $_pid | grep -e " *^$_pid.*$java_class"`" ]; then > echo -n $_pid > 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 209454
:
170212
|
170213