mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
tests: Use ps -o stat
instead of "state"
Oh, Alpine
This commit is contained in:
parent
911f043bf0
commit
f63d70298f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ echo Trigger process reaping
|
|||
# be gone by the time we get here. Unfortunately, kill from procps on pre-2016 distributions
|
||||
# does not print an error for non-existent PIDs, so instead look for zombies in this session
|
||||
# (there should be none).
|
||||
ps -o state | string match 'Z*'
|
||||
ps -o stat | string match 'Z*'
|
||||
|
||||
jobs -q
|
||||
echo $status
|
||||
|
|
Loading…
Reference in a new issue