[pbs-devel] applied: [PATCH proxmox-backup] jobstate: fix wrong error message
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Mar 7 15:50:51 CET 2023
On Tue, Mar 07, 2023 at 03:10:57PM +0100, Dominik Csapak wrote:
> we try to create the job stat dir, not the rrdb one
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> src/server/jobstate.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/server/jobstate.rs b/src/server/jobstate.rs
> index 4f347ad1..74af992f 100644
> --- a/src/server/jobstate.rs
> +++ b/src/server/jobstate.rs
> @@ -88,7 +88,7 @@ pub fn create_jobstate_dir() -> Result<(), Error> {
> .group(backup_user.gid);
>
> create_path(JOB_STATE_BASEDIR, Some(opts.clone()), Some(opts))
> - .map_err(|err: Error| format_err!("unable to create rrdb stat dir - {}", err))?;
> + .map_err(|err: Error| format_err!("unable to create job stat dir - {}", err))?;
applied & changed stat -> state...
More information about the pbs-devel
mailing list