This adds warninga without value to the regression test stderr output, does not affects the test itself but can be annoying.
Signed-off-by: Thomas Lamprecht <[email protected]> --- trivial fix src/PVE/HA/Sim/Hardware.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PVE/HA/Sim/Hardware.pm b/src/PVE/HA/Sim/Hardware.pm index 2c6b8b6..383b10e 100644 --- a/src/PVE/HA/Sim/Hardware.pm +++ b/src/PVE/HA/Sim/Hardware.pm @@ -226,7 +226,6 @@ sub unlock_service { die "no such service '$sid'\n" if !$conf->{$sid}; if (!defined($conf->{$sid}->{lock})) { - warn "service '$sid' not locked\n"; return undef; } -- 2.1.4 _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
