diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-01 21:39:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-01 21:39:08 +0000 |
commit | 360405730f0cefc0de5b9954d3b2f6f1000f5f38 (patch) | |
tree | b4051701c33950d868fa4c8383df9026e6e81ca5 /libexec | |
parent | a6f1bc05a1fd2eb9b66c1ccc68d3bab5f7f2e651 (diff) |
cleanup TDIR in one more case
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/makewhatis/makewhatis.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/makewhatis/makewhatis.sh b/libexec/makewhatis/makewhatis.sh index 8c06ce94a9e..c18570936c1 100644 --- a/libexec/makewhatis/makewhatis.sh +++ b/libexec/makewhatis/makewhatis.sh @@ -21,6 +21,7 @@ trap "rm -rf $TDIR; exit 1" 1 2 15 MANDIR=${1-/usr/share/man} if test ! -d "$MANDIR"; then echo "makewhatis: $MANDIR: not a directory" + rm -rf $TDIR exit 1 fi |