Skip to content

Commit 91fc0a6

Browse files
committed
op/magic.t: Pass more common parameter to ps
-p is an abbreviation that isn't as widely used as -pid
1 parent de313d8 commit 91fc0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/op/magic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ SKIP: {
930930
$0 = $arg if defined $arg;
931931
# In FreeBSD the ps -o command= will cause
932932
# an empty header line, grab only the last line.
933-
my $ps = (`ps -o command= -p $$ 2>&1`)[-1];
933+
my $ps = (`ps -o command= -pid $$ 2>&1`)[-1];
934934
return if $?;
935935
chomp $ps;
936936
$ps;

0 commit comments

Comments
 (0)