Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall fix reversed mv, pointed out by wiz@



details:   https://anonhg.NetBSD.org/src/rev/eb7e494a6600
branches:  trunk
changeset: 934659:eb7e494a6600
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 15 14:32:07 2020 +0000

description:
fix reversed mv, pointed out by wiz@

diffstat:

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

diffs (20 lines):

diff -r 45d001e0e6c7 -r eb7e494a6600 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Mon Jun 15 14:25:40 2020 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Mon Jun 15 14:32:07 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.24 2020/06/15 14:25:40 christos Exp $
+# $NetBSD: postinstall.in,v 1.25 2020/06/15 14:32:07 christos Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -864,7 +864,7 @@
 {
        # if we are actually using blocklistd
        if [ -f /var/db/blacklist.db ]; then
-               mv /var/db/blocklist.db /var/db/blacklist.db
+               mv /var/db/blacklist.db /var/db/blocklist.db
        fi
 
        # if we have fixed the rc files we are done



Home | Main Index | Thread Index | Old Index