File: fail-pause

package info (click to toggle)
vice 3.9%2Bdfsg-1
  • links: PTS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 54,736 kB
  • sloc: ansic: 453,239; cpp: 35,725; sh: 9,629; makefile: 7,326; perl: 1,821; yacc: 1,262; lex: 632; sed: 184; objc: 115; xml: 36; awk: 6
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