summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/btrfs-scan4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btrfs-scan b/src/btrfs-scan
index 2e83f1a..9213dfc 100755
--- a/src/btrfs-scan
+++ b/src/btrfs-scan
@@ -27,7 +27,6 @@ fixup_path()
27 "$root"/* ) path_fixed=${path#$root} ;; 27 "$root"/* ) path_fixed=${path#$root} ;;
28 * ) return ;; 28 * ) return ;;
29 esac 29 esac
30 compute_paths
31 "$@" 30 "$@"
32} 31}
33 32
@@ -76,6 +75,7 @@ compute_paths()
76 source_escaped=$(systemd-escape "$source") 75 source_escaped=$(systemd-escape "$source")
77 conf_dir=/etc/btrfs/remotes 76 conf_dir=/etc/btrfs/remotes
78 conf_name="$conf_dir"/$destination_host$source_escaped.json 77 conf_name="$conf_dir"/$destination_host$source_escaped.json
78 "$@"
79} 79}
80 80
81mirror() 81mirror()
@@ -155,4 +155,4 @@ esac
155 155
156ssh root@"$destination_host" true || read -p 'Could not log in. Continue? ' 156ssh root@"$destination_host" true || read -p 'Could not log in. Continue? '
157 157
158with_subvolumes fixup_path filter_blacklist mirror 158with_subvolumes fixup_path compute_paths filter_blacklist mirror