6 lines
122 B
Bash
Executable File
6 lines
122 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test "$#" -gt 1 -a "$1" = "-c"; then shift; fi
|
|
bash -euET -o pipefail -c 'trap "kill $$" ERR; '"$1"
|
|
exit $?
|