mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
fix typo
This commit is contained in:
parent
f45f9d1ee1
commit
bd529ddeeb
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: mktemp.1,v 1.2 1997/01/04 01:08:04 millert Exp $
|
||||
.\" $OpenBSD: mktemp.1,v 1.3 1997/01/27 03:40:58 millert Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -109,7 +109,7 @@ echo "program output" >> $TMPFILE
|
||||
.Pp
|
||||
In this case, we want the script to catch the error itself.
|
||||
.Bd -literal -offset indent
|
||||
TMPFILE=`mktemp -s /tmp/$0.XXXXXX`
|
||||
TMPFILE=`mktemp -q /tmp/$0.XXXXXX`
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "$0: Can't create temp file, exiting..."
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user