From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] jobstate: fix wrong error message
Date: Tue, 7 Mar 2023 15:10:57 +0100 [thread overview]
Message-ID: <20230307141057.822269-1-d.csapak@proxmox.com> (raw)
we try to create the job stat dir, not the rrdb one
Signed-off-by: Dominik Csapak <d.csapak@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
next reply other threads:[~2023-03-07 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 14:10 Dominik Csapak [this message]
2023-03-07 14:50 ` [pbs-devel] applied: " Wolfgang Bumiller
2023-03-07 18:36 ` [pbs-devel] " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230307141057.822269-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox