diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs index f12d9632..6c0cf63f 100644 --- a/src/bin/proxmox-backup-manager.rs +++ b/src/bin/proxmox-backup-manager.rs @@ -133,8 +133,14 @@ fn list_users(param: Value, rpcenv: &mut dyn RpcEnvironment) -> Result Result Result { + let value = value.as_bool().unwrap_or(true); + Ok((if value { "1" } else { "0" }).to_string()) +}