lilalo
diff l3-agent @ 60:0b1553611bb5
В l3scripts добавился скрипт send-current-lablogs
author | devi |
---|---|
date | Sat Jan 14 18:23:11 2006 +0200 (2006-01-14) |
parents | 187b6636a3be |
children | c4bea959dbb1 |
line diff
1.1 --- a/l3-agent Wed Dec 28 18:44:42 2005 +0200 1.2 +++ b/l3-agent Sat Jan 14 18:23:11 2006 +0200 1.3 @@ -968,7 +968,7 @@ 1.4 unlink $Config{agent_pidfile} 1.5 or die "Can't remove stale pidfile ". $Config{agent_pidfile}. " : $!"; 1.6 } 1.7 - elsif ($^O eq 'freebsd' && $pid && `ps axo uid,pid,command | grep '$<.*$pid.*$Config{"l3-agent"}' 2> /dev/null`) { 1.8 + elsif ($^O eq 'freebsd' && $pid && `ps axo uid,pid,command | grep '$<\\s*$pid\\s*$Config{"l3-agent"}' 2> /dev/null`) { 1.9 print "Removing stale pidfile\n"; 1.10 unlink $Config{agent_pidfile} 1.11 or die "Can't remove stale pidfile ". $Config{agent_pidfile}. " : $!";