mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
The arguments to use for ps on Mac OS X were mis-detected by the mysql_zap
utility. (Bug #41883, patch by Nicklas Westerlund)
This commit is contained in:
parent
337a20a800
commit
16ef088112
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ $opt_f= 0;
|
|||
$opt_t= 0;
|
||||
$opt_a = "";
|
||||
|
||||
$BSD = -f '/vmunix' || $ENV{"OS"} eq "SunOS4" || $^O eq 'darwin';
|
||||
$LINUX = $^O eq 'linux';
|
||||
$BSD = -f '/vmunix' || $ENV{"OS"} eq "SunOS4";
|
||||
$LINUX = $^O eq 'linux' || $^O eq 'darwin';
|
||||
$pscmd = $BSD ? "/bin/ps -auxww" : $LINUX ? "/bin/ps axuw" : "/bin/ps -ef";
|
||||
|
||||
open(TTYIN, "</dev/tty") || die "can't read /dev/tty: $!";
|
||||
|
|
Loading…
Reference in a new issue