[pbs-devel] [PATCH proxmox-backup] jobstate: fix wrong error message

Dominik Csapak d.csapak at proxmox.com
Tue Mar 7 15:10:57 CET 2023


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))?;
 
     Ok(())
 }
-- 
2.30.2






More information about the pbs-devel mailing list