]> git.proxmox.com Git - pve-installer.git/commit - Proxmox/Install.pm
fix checking the now boolean prompt response
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jun 2023 05:16:12 +0000 (07:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jun 2023 05:21:19 +0000 (07:21 +0200)
commited68d1244d87f7ed3fdbd332d3c00c0b1d93c325
tree93a657fc9ec13468d60dabd046d389645d677d88
parentcb879145c3838caa35c9cddc9fa3735140da5443
fix checking the now boolean prompt response

When the prompt abstraction got added in bc05a8f ("add basic UI
plugin infrastructure") it also inlined the check for the answer, as
that can be differently structured for each user interface, and
returns bool. But when switching over to this new infra, two sites
weren't updated to the simpler bool check and still checked with the
previous "equals 'ok'", which now was always false.

Fixes: 72bea99 ("switch prompt, error and message calls to new UI infra")
Reported-by: Alexander Zeidler <a.zeidler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/Install.pm
Proxmox/Sys/Block.pm