Browse Source

The arguments to use for ps on Mac OS X were mis-detected by the mysql_zap

utility. (Bug #41883, patch by Nicklas Westerlund)
pull/47/merge
Jim Winstead 17 years ago
parent
commit
16ef088112
  1. 4
      scripts/mysql_zap.sh

4
scripts/mysql_zap.sh

@ -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…
Cancel
Save