diff options
author | Matthias Kilian <kili@cvs.openbsd.org> | 2007-06-14 13:19:40 +0000 |
---|---|---|
committer | Matthias Kilian <kili@cvs.openbsd.org> | 2007-06-14 13:19:40 +0000 |
commit | 63a6a4d7e8139ba4c15f41b4eb65eb7d6bedff3a (patch) | |
tree | 0d5d54e3bec3ec1ceb3177ed25aa2df99959aa78 /usr.sbin/pkg_add/OpenBSD | |
parent | c0ae04040277bce6f4e5166196992f9c876e22c9 (diff) |
Really cleanup temporary directories.
"commit that now, please." espie@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Temp.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Temp.pm b/usr.sbin/pkg_add/OpenBSD/Temp.pm index 8dad6151564..c207c2d4476 100644 --- a/usr.sbin/pkg_add/OpenBSD/Temp.pm +++ b/usr.sbin/pkg_add/OpenBSD/Temp.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Temp.pm,v 1.11 2007/06/12 09:26:46 espie Exp $ +# $OpenBSD: Temp.pm,v 1.12 2007/06/14 13:19:39 kili Exp $ # # Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org> # @@ -42,7 +42,7 @@ sub cleanup while (my ($name, $pid) = each %$files) { unlink($name) if $pid == $$; } - while (my ($dir, $pid) = each %$files) { + while (my ($dir, $pid) = each %$dirs) { File::Path::rmtree([$dir]) if $pid == $$; } } |