The >& form is only for file descriptors, passing a file name there is
a bash extension.
$ /bin/dash -c 'echo foo >&/dev/null'
/bin/dash: 1: Syntax error: Bad fd number
4 lines
80 B
Text
4 lines
80 B
Text
rm -f log
|
|
redo fatal >/dev/null 2>&1 || true
|
|
|
|
[ "$(cat log)" = "ok" ] || exit 5
|