From 908b0d0155c9beb2a91b0fd80738fbf73a206f1a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 9 Oct 2026 00:56:05 +0200 Subject: [PATCH] pmirror: Fix name of safety file in --help output `--safety` checks for `.PMIRROR_ENABLED` (`$master_path/.PMIRROR_ENABLED`), but the help text names `.PMIRROR_ENABLE`: $ pmirror --help 2>&1 | grep -e --safety --safety check existance of /path/.PMIRROR_ENABLE Creating the file as documented therefore does not enable the mirror. Name the correct file, and fix the spelling of *existence*. Assisted-by: Claude Opus 5.5 --- pmirror/pmirror | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmirror/pmirror b/pmirror/pmirror index 7bb8b3ac..91b0a7d1 100755 --- a/pmirror/pmirror +++ b/pmirror/pmirror @@ -1034,7 +1034,7 @@ usage: $0 [options] path [node:]path --delete delete files on client which are not on server --debug log some debugging info --lock IDENT get exclusive lock on /var/lock/IDENT or die (not for slave) - --safety check existance of /path/.PMIRROR_ENABLE + --safety check existence of /path/.PMIRROR_ENABLED --identity_file FILE use this identity file for ssh --mkdir create directory on target --exclude path exclude path ( use pattern "./name1/name" only) , max be specified multiple times