From dfd3d834246a5c58d5bda69bec112ba970f51a78 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 9 Mar 2018 11:46:23 +0100 Subject: [PATCH] fix 'use of unitialized value' warning for help command --- pve-zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-zsync b/pve-zsync index 44ed910..2503117 100644 --- a/pve-zsync +++ b/pve-zsync @@ -1220,7 +1220,7 @@ if ($command eq 'destroy') { print help($help_command); } - if ($param->{verbose} == 1){ + if ($param->{verbose}) { exec("man $PROGNAME"); } else { -- 2.39.2