File: fail-pause

package info (click to toggle)
vice 1.19-1etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 27,132 kB
  • ctags: 33,406
  • sloc: ansic: 257,145; cpp: 13,395; sh: 3,674; makefile: 3,380; perl: 1,801; yacc: 622; lex: 258; asm: 4
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