Fix detection of zombies in test

Due to the second column the old glob no longer worked.
This commit is contained in:
Johannes Altmanninger 2021-08-29 20:10:25 +02:00
parent 8334df9368
commit bd79e753ff

View File

@ -19,7 +19,7 @@ if not contains (uname) SunOS
ps -o ppid,stat
else
ps -o ppid,s
end | string match -e $fish_pid | string match 'Z*'
end | string match -e $fish_pid | string match '*Z*'
# Verify disown can be used with last_pid, even if it is separate from the pgroup.
# This should silently succeed.