diff options
Diffstat (limited to 'ACE/bin/PerlACE/Process_Unix.pm')
-rw-r--r-- | ACE/bin/PerlACE/Process_Unix.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/bin/PerlACE/Process_Unix.pm b/ACE/bin/PerlACE/Process_Unix.pm index e1ddb7f8fde..db0d6a92587 100644 --- a/ACE/bin/PerlACE/Process_Unix.pm +++ b/ACE/bin/PerlACE/Process_Unix.pm @@ -542,6 +542,8 @@ sub kill_all ($) my $first = 1; my $ps_cmd = 'ps xw'; my $ps_file = `which ps`; + $ps_file =~ s/^\s+//; + $ps_file =~ s/\s+$//; if ((-l $ps_file) and (readlink ($ps_file)) =~ /busybox/) { ## some embedded targets use BusyBox for base tools ## with different arguments |