home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 4 Apr 2025 20:51:41 +0000 (22:51 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 4 Apr 2025 20:51:41 +0000 (22:51 +0200)
testing/home/desktop/.local/bin/borgplom

index e775e3b6bdeecac27632e66735bc1e86f58560e6..cadf19d9840eeda76d861aa202a8546482d6f1f6 100755 (executable)
@@ -128,7 +128,7 @@ USAGE_ARGS_init='SERVER_NAME'
 USAGE_DESC_init="create repo at \"$(location_from_servername SERVER_NAME)\""
 CMDFNC_init() {
     expect_n_args 1 1 "${USAGE_ARGS_init}" $@
-    borg init --encryption=keyfile "$1"
+    borg init --encryption=keyfile "$(location_from_servername $1)"
 }
 
 USAGE_DESC_keys='list known repos in ID, key filename, and alleged location'