Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall Ensure the dhcpcd log socket is removed.



details:   https://anonhg.NetBSD.org/src/rev/15839638a579
branches:  trunk
changeset: 934004:15839638a579
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Jun 03 11:47:46 2020 +0000

description:
Ensure the dhcpcd log socket is removed.

diffstat:

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

diffs (20 lines):

diff -r 35f8e06bde7e -r 15839638a579 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Wed Jun 03 11:33:38 2020 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Wed Jun 03 11:47:46 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.22 2020/05/31 13:45:47 roy Exp $
+# $NetBSD: postinstall.in,v 1.23 2020/06/03 11:47:46 roy Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -996,7 +996,7 @@
 
        # Ensure chroot is now empty
        for dir in \
-               $(find ${chroot_dir} -type f) \
+               $(find ${chroot_dir} ! -type d) \
                $(find ${chroot_dir} -type d -mindepth 1 | sort -r)
        do
                echo "/var/chroot/dhcpcd${dir##${chroot_dir}}"



Home | Main Index | Thread Index | Old Index