home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / cnews.tar / util / shellcheck < prev    next >
Text File  |  1995-04-27  |  126b  |  11 lines

  1. #! /bin/sh
  2. trap 'rm -f tmp.trap ; trap 0 ; exit $st' 0
  3. ( touch tmp.trap )
  4. if test -f tmp.trap
  5. then
  6.     st=0
  7. else
  8.     st=1
  9. fi
  10. exit 1
  11.