cat-highlight: Fix error check
It caused cat-highlight to always return with an error status.
This commit is contained in:
parent
d2e68c5c8f
commit
23ad6625ba
|
@ -50,5 +50,5 @@ done
|
|||
|
||||
for file in ${files}; do
|
||||
eval "${catopen/\%s/${file}}" 2>& -
|
||||
[[ ${?} -ne 0 ]] && \cat ${file}
|
||||
[[ ${?} -eq 0 ]] || \cat ${file}
|
||||
done | \cat ${args}
|
||||
|
|
Loading…
Reference in New Issue
Block a user