Files
date/test_fail.sh
fkobi 8a1102fd08 simplify test_fail.sh
the default `exit` value is 0 so we do not need to explicitly call it
2025-01-09 10:41:17 -05:00

7 lines
101 B
Bash
Executable File

#!/bin/sh
# show what is to be run
echo $1
# run the command
eval $1 || exit 1 # if fails, return 1