mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:56:09 +08:00
Fix detection of zombies in test
Due to the second column the old glob no longer worked.
This commit is contained in:
parent
8334df9368
commit
bd79e753ff
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user