Module Name:    src
Committed By:   christos
Date:           Mon Jun 15 14:32:08 UTC 2020

Modified Files:
        src/usr.sbin/postinstall: postinstall.in

Log Message:
fix reversed mv, pointed out by wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.24 src/usr.sbin/postinstall/postinstall.in:1.25
--- src/usr.sbin/postinstall/postinstall.in:1.24	Mon Jun 15 10:25:40 2020
+++ src/usr.sbin/postinstall/postinstall.in	Mon Jun 15 10:32:07 2020
@@ -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 @@ do_blocklist()
 {
 	# 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

Reply via email to