blob: 825e0f758d61aab9b1e16a467b32027f3c4f1e7b [file] [log] [blame]
#!/bin/sh
# Check that a command terminates with an error exit code.
if "$@"; then
echo "error: unexpected successful exit: " "$@" 1>&2
exit 1
fi
exit 0