mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
stress2: exlock2.sh: Fix impact of previous '-U' removal
In commit "stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U'
change" (1265d3b07eaa), I forgot that '-U' also has the side-effect of
implying '-x' by default. Now that '-U' has been removed, make '-x'
explicit.
Fixes: 1265d3b07eaa ("stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change")
MFC after: 1 hour
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f6e826891760a34ef69e1122da0ee378f7caf454)
(cherry picked from commit da6b04cd404341d494e2c89e3058ccaea5ca8a79)
Approved by: re (implicit)
This commit is contained in:
parent
10e6bac460
commit
f7fa53cead
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ out:
|
|||
}
|
||||
#if defined(DEBUG)
|
||||
if (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");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue