]> git.proxmox.com Git - proxmox-backup.git/commit
fix #4483: fix `task log` command interrupt handling
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 18 Jan 2023 13:53:42 +0000 (14:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Jan 2023 09:11:25 +0000 (10:11 +0100)
commit158db8c01fe84bddd09f83b27cf2d1cf48f1b644
treecf718b6d5b26b2cb04cdb24ee5621dda04c9e839
parent07151513fa92899c65b1efa47d9b2d40c5dc5d82
fix #4483: fix `task log` command interrupt handling

`proxmox-backup-client task log ..` and `proxmox-backup-manager task log ..`
are used to view the logs of tasks that have been started by another client, so
interrupting the task progress view should not forward the interrupt to the
running task. other call sites of the same helper(s) that spawn a task and then
print its progress should keep the old behaviour of interrupting the spawned
task on C^c.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
pbs-client/src/task_log.rs
proxmox-backup-client/src/task.rs
src/bin/proxmox-backup-manager.rs