]> git.proxmox.com Git - pmg-api.git/commit
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)
commit26dedd520e134fc47f9d23277ccbe10b4b4b8f97
tree663c6bf364c81a84b5e6c850978f2bc41fd81a83
parentdd35bbbd82d7e5b14c0d58a90eaeb9bd02f22656
pmgbackup: fix missing semicolon leading to weird effects

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