Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall Cleanup temporary file



details:   https://anonhg.NetBSD.org/src/rev/29c7b88a956e
branches:  trunk
changeset: 780972:29c7b88a956e
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Aug 13 18:22:25 2012 +0000

description:
Cleanup temporary file

diffstat:

 usr.sbin/postinstall/postinstall |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r fdf9aeadc289 -r 29c7b88a956e usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Mon Aug 13 18:02:32 2012 +0000
+++ b/usr.sbin/postinstall/postinstall  Mon Aug 13 18:22:25 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.140 2012/08/13 15:17:16 martin Exp $
+# $NetBSD: postinstall,v 1.141 2012/08/13 18:22:25 martin Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1787,6 +1787,7 @@
                                        rm "${node}"
                                        msg "Removed ${node}"
                                done < "${tmp}"
+                               rm "${tmp}"
                        else
                                failed=1
                        fi



Home | Main Index | Thread Index | Old Index