mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
7 lines
138 B
Fish
7 lines
138 B
Fish
|
exec cat < nosuchfile
|
||
|
echo "failed: $status"
|
||
|
not exec cat < nosuchfile
|
||
|
echo "neg failed: $status"
|
||
|
exec cat < /dev/null
|
||
|
echo "not reached"
|