]> git.proxmox.com Git - pmg-api.git/commitdiff
pmgbackup: fix missing semicolon leading to weird effects
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 18 Nov 2020 09:28:15 +0000 (10:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 18 Nov 2020 09:28:21 +0000 (10:28 +0100)
without as semicolon the code run at "compile" (initial parse) time,
not after that. Thus, every code error was attributed to an
compilation error, i.e., bad syntax or the like, not a runtime die.

This was visible as the program executed when using perl check
> # perl -wc src/bin/pmgbackup

which should normally not be the case

Originally-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/pmgbackup

index f08d5064f9e2d17a6074a0d50acacce52ecff21d..44d963ff35af75a0c1f2ee8ff3dd430ee02694c7 100755 (executable)
@@ -3,6 +3,6 @@
 use strict;
 use warnings;
 
-use PMG::CLI::pmgbackup
+use PMG::CLI::pmgbackup;
 
 PMG::CLI::pmgbackup->run_cli_handler();