]> git.proxmox.com Git - proxmox-backup.git/commit
cli: add interactive confirmation for block device wipe
authorMarkus Frank <m.frank@proxmox.com>
Wed, 29 Nov 2023 13:20:18 +0000 (14:20 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 29 Nov 2023 13:26:03 +0000 (14:26 +0100)
commit887d83cb5eb088e4fbaa2474f8d504916243f502
tree1084000bb38802530d6c022e3a2b1bf05e65ebe3
parentd038ddbe48a395f4c652ed116a9ba753d021d6ea
cli: add interactive confirmation for block device wipe

If stdin is a TTY, an interactive prompt is added to confirm the deletion
of a block device, ensuring user verification before proceeding.

Signed-off-by: Markus Frank <m.frank@proxmox.com>
src/bin/proxmox_backup_manager/disk.rs