projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba63d0c
)
Ensure that qmail-send is found and not supervise qmail-send
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 6 Sep 2010 19:22:21 +0000
(12:22 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 6 Sep 2010 19:22:21 +0000
(12:22 -0700)
qmailadmin/qmail-lib.pl
patch
|
blob
|
history
diff --git
a/qmailadmin/qmail-lib.pl
b/qmailadmin/qmail-lib.pl
index
1dce7fd
..
410b597
100755
(executable)
--- a/
qmailadmin/qmail-lib.pl
+++ b/
qmailadmin/qmail-lib.pl
@@
-793,10
+793,10
@@
else {
return undef;
}
-# Returns the PID of qmail-send i
s
running
+# Returns the PID of qmail-send i
f
running
sub is_qmail_running
{
-local ($pid) = &find_byname("qmail-send");
+local ($pid) = &find_byname("
^\\S*
qmail-send");
return kill(0, $pid) ? $pid : undef;
}