]> git.proxmox.com Git - pve-zsync.git/commitdiff
fix 'use of unitialized value' warning for help command
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Mar 2018 10:46:23 +0000 (11:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Mar 2018 10:46:30 +0000 (11:46 +0100)
pve-zsync

index 44ed910addbcfff96e6d7ea4342565ac32b22cd2..2503117235bbc5bb3540ba69147aa33c77faf63d 100644 (file)
--- 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 {