issue with concurrency checks fixed
bug fixes for file upload scripts git-svn-id: svn://192.168.202.10@1822 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -177,7 +177,7 @@ foreach(@conf)
|
||||
### concurrency check
|
||||
if ($run_check > 0)
|
||||
{
|
||||
my $grepout = `/bin/ps ax | grep $0 | grep -v grep`;
|
||||
my $grepout = `/bin/ps ax | grep $0 | grep -v grep | grep -v '/bin/sh'`;
|
||||
my $grepnum=0;
|
||||
$grepnum++ while ($grepout =~ m/\n/g);
|
||||
if ($grepnum > 1)
|
||||
|
||||
Reference in New Issue
Block a user