]> git.proxmox.com Git - pve-storage.git/commit
postinst: avoid spawning subshell
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 17 Jun 2021 08:58:25 +0000 (10:58 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 17 Jun 2021 09:12:15 +0000 (11:12 +0200)
commitcd48e1632c67c1a40be64d03ff3803ed38f3a930
tree4d96f595f0e447d96db10e01b1cd07e3f54b9460
parentf985f33afdfe157c704ded67e9af6280c02c4ef8
postinst: avoid spawning subshell

which makes the continue not behave as intended.

Reported by shellcheck: SC2106: This [i.e. continue] only exits the subshell
caused by the (..) group

Also factor out long message for readability.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
debian/postinst