File: fail-pause

package info (click to toggle)
vice 3.7.1%2Bdfsg1-2
  • links: PTS
  • area: contrib
  • in suites: bookworm
  • size: 49,876 kB
  • sloc: ansic: 431,530; cpp: 35,357; sh: 9,747; makefile: 7,010; perl: 1,822; yacc: 1,197; lex: 589; sed: 184; objc: 115; xml: 36
file content (9 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -f
"$@"
status=$?
if [ $status -ne 0 ]; then
  echo -n "Command returned exit status: $status; press <ENTER> to continue."
  read
fi
exit $status