Branko Čibej wrote on Tue, 26 Jun 2018 12:37 +0200: > It would be helpful if the wrapper script returned the exit code from > the diff program. Something like 'exit $?' at the end would do it.
Come again? Appending 'exit $?' to a shell script is a no-op; a script returns the exit code of its last command. [[[ % echo '(exit 42)' | sh; echo $? 42 ]]]