mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
stress2: exlock2.sh: Fix impact of previous '-U' removal
In commit "stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change" (1265d3b07e), I forgot that '-U' also has the side-effect of implying '-x' by default. Now that '-U' has been removed, make '-x' explicit. Fixes:1265d3b07e("stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change") MFC after: 1 hour Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
79e70e12f5
commit
f6e8268917
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ out:
|
|||
usleep(100);
|
||||
}
|
||||
if (debug != 0 && e != 0)
|
||||
system("ps | grep -v grep | grep /tmp/exlock2 | "\
|
||||
system("ps -x | grep -v grep | grep /tmp/exlock2 | "\
|
||||
"awk '{print $1}' | xargs procstat -f");
|
||||
share[SYNC] = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue