aboutsummaryrefslogtreecommitdiff
path: root/with-shell-on-error
blob: d29a1d65e91f86fc9a007685b84711c345f43ff7 (plain)
1
2
#!/bin/sh
"$@" || exec "${SHELL:-sh}"