diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-01-10 02:01:11 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-01-10 02:01:11 +0000 |
commit | 85bfb0e9ebb8f2238cff6c03e93c0dce31581845 (patch) | |
tree | ee5e130ea6961a649d0192a79b6c0b16a735eee1 /sys/src/cmd/rc/io.c | |
parent | 4d872079d36939c3287b2968fbada7c4e4738762 (diff) |
reduce: use if() to test for exit status of pipeline
The new rc's exit status will be '' for a successfull
pipeline execution instead of '|'.
This is a bit too tightly coupled, so just use if()
statement instead, handling this in a portable way.
Diffstat (limited to 'sys/src/cmd/rc/io.c')
0 files changed, 0 insertions, 0 deletions