=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mktemp/mktemp.1,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/mktemp/mktemp.1 1996/11/21 07:59:32 1.1 --- src/usr.bin/mktemp/mktemp.1 1997/01/04 01:08:04 1.2 *************** *** 1,4 **** ! .\" $OpenBSD: mktemp.1,v 1.1 1996/11/21 07:59:32 millert Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: mktemp.1,v 1.2 1997/01/04 01:08:04 millert Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 110,116 **** In this case, we want the script to catch the error itself. .Bd -literal -offset indent TMPFILE=`mktemp -s /tmp/$0.XXXXXX` ! if [ $? ne 0 ]; then echo "$0: Can't create temp file, exiting..." exit 1 fi --- 110,116 ---- In this case, we want the script to catch the error itself. .Bd -literal -offset indent TMPFILE=`mktemp -s /tmp/$0.XXXXXX` ! if [ $? -ne 0 ]; then echo "$0: Can't create temp file, exiting..." exit 1 fi