From b2b16cee396a6fd8fcb717ed626566801a98f109 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 12 Mar 2020 10:57:14 +0100 Subject: [PATCH] make GuestHelpers a subclass of Exporter or else the Exports will not work found by hotplugging nics with current master from qemu-server which resulted in a 'undefined subroutine &PVE::QemuServer::safe_string_ne' Signed-off-by: Dominik Csapak --- PVE/GuestHelpers.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/GuestHelpers.pm b/PVE/GuestHelpers.pm index 916f19f..1688c5c 100644 --- a/PVE/GuestHelpers.pm +++ b/PVE/GuestHelpers.pm @@ -9,6 +9,8 @@ use PVE::Storage; use POSIX qw(strftime); use Scalar::Util qw(weaken); +use base qw(Exporter); + our @EXPORT_OK = qw(safe_string_ne safe_boolean_ne safe_num_ne typesafe_ne); # We use a separate lock to block migration while a replication job