Commit 876ff314 authored by Marco Mariani's avatar Marco Mariani

fixed double // in regexp match

parent 3e0a03d6
......@@ -66,7 +66,7 @@ sub get_pid_tree() {
if (open(CMDLINE, "<$PROCFS/$pid/cmdline")) { # else pid has gone away
while (my $line = <CMDLINE>) {
my @args = split('\0',$line);
$cmd = 'zmconfigd' if ($args[$#args] =~ m|//opt/zimbra/libexec/zmconfigd|);
$cmd = 'zmconfigd' if ($args[$#args] =~ m|/opt/zimbra/libexec/zmconfigd|);
$cmd = 'zmmailboxd' if ($args[$#args] =~ m|/opt/zimbra/mailboxd/etc/jetty.xml|);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment