mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
MacOS 10.5 fixes
This commit is contained in:
@@ -5,7 +5,7 @@ sub list_processes
|
||||
{
|
||||
local($pcmd, $line, $i, %pidmap, @plist);
|
||||
if (@_) {
|
||||
open(PS, "ps axlwwwwp $_[0] |");
|
||||
open(PS, "ps xlwwwwp $_[0] |");
|
||||
}
|
||||
else {
|
||||
open(PS, "ps axlwwww |");
|
||||
@@ -35,6 +35,10 @@ for($i=0; $line=<PS>; $i++) {
|
||||
$plist[$i]->{"args"} = $13;
|
||||
$pidmap{$2} = $plist[$i];
|
||||
}
|
||||
else {
|
||||
# Unknown line?
|
||||
$i--;
|
||||
}
|
||||
}
|
||||
close(PS);
|
||||
open(PS, "ps auxwwww $_[0] |");
|
||||
|
||||
Reference in New Issue
Block a user