aboutsummaryrefslogtreecommitdiff
path: root/with-shell-on-error
blob: 40f99808598cdabdffa1b51704a936b3c648128c (plain)
1
2
3
#!/bin/sh

"$@" || exec "${SHELL:-sh}"