From 309e14ebb714e4b799b6b2597fcc21c31e49dc01 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 3 Jul 2021 19:51:14 +0200 Subject: [PATCH] file restore daemon: reword warning about manual execution Signed-off-by: Thomas Lamprecht --- src/bin/proxmox-restore-daemon.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bin/proxmox-restore-daemon.rs b/src/bin/proxmox-restore-daemon.rs index a2701b7c..ed2326a1 100644 --- a/src/bin/proxmox-restore-daemon.rs +++ b/src/bin/proxmox-restore-daemon.rs @@ -37,10 +37,9 @@ lazy_static! { /// This is expected to be run by 'proxmox-file-restore' within a mini-VM fn main() -> Result<(), Error> { if !Path::new(VM_DETECT_FILE).exists() { - bail!(concat!( - "This binary is not supposed to be run manually. ", - "Please use 'proxmox-file-restore' instead." - )); + bail!( + "This binary is not supposed to be run manually, use 'proxmox-file-restore' instead." + ); } // don't have a real syslog (and no persistance), so use env_logger to print to a log file (via