summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/fw_update/fw_update.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh
index d8779488b9a..1398b0f2b27 100644
--- a/usr.sbin/fw_update/fw_update.sh
+++ b/usr.sbin/fw_update/fw_update.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: fw_update.sh,v 1.37 2022/02/11 00:46:58 afresh1 Exp $
+# $OpenBSD: fw_update.sh,v 1.38 2022/02/15 08:02:03 espie Exp $
#
# Copyright (c) 2021 Andrew Hewus Fresh <afresh1@openbsd.org>
#
@@ -206,13 +206,11 @@ lock_db() {
perl <<'EOL' |&
use v5.16;
use warnings;
- use OpenBSD::PackageInfo qw< lock_db unlock_db >;
- use OpenBSD::BaseState;
+ use OpenBSD::PackageInfo qw< lock_db >;
$|=1;
- lock_db(0, 'OpenBSD::BaseState');
- END { unlock_db }
+ lock_db(0);
$SIG{TERM} = sub { exit };
say $$;