[BACK]Return to mktemp.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / mktemp

Diff for /src/usr.bin/mktemp/mktemp.1 between version 1.1 and 1.2

version 1.1, 1996/11/21 07:59:32 version 1.2, 1997/01/04 01:08:04
Line 110 
Line 110 
 In this case, we want the script to catch the error itself.  In this case, we want the script to catch the error itself.
 .Bd -literal -offset indent  .Bd -literal -offset indent
 TMPFILE=`mktemp -s /tmp/$0.XXXXXX`  TMPFILE=`mktemp -s /tmp/$0.XXXXXX`
 if [ $? ne 0 ]; then  if [ $? -ne 0 ]; then
         echo "$0: Can't create temp file, exiting..."          echo "$0: Can't create temp file, exiting..."
         exit 1          exit 1
 fi  fi

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2