diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-04 01:08:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-04 01:08:05 +0000 |
commit | 2d078054cd80f6f77396855eeca4d92d3f217e3a (patch) | |
tree | d4bebbb2c01854290f1adaf7a510e16c40c4ab97 /usr.bin/mktemp/mktemp.1 | |
parent | 39d39aa298875366d497ae76d5375b751f7e4f65 (diff) |
Fix typo, too much perl on the brain.
Diffstat (limited to 'usr.bin/mktemp/mktemp.1')
-rw-r--r-- | usr.bin/mktemp/mktemp.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mktemp/mktemp.1 b/usr.bin/mktemp/mktemp.1 index 4f6ff85d8c1..b313a19808e 100644 --- a/usr.bin/mktemp/mktemp.1 +++ b/usr.bin/mktemp/mktemp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mktemp.1,v 1.1 1996/11/21 07:59:32 millert Exp $ +.\" $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,7 +110,7 @@ echo "program output" >> $TMPFILE 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 +if [ $? -ne 0 ]; then echo "$0: Can't create temp file, exiting..." exit 1 fi |