From 22954982cb8f88401e09a854c007698e1a1b0851 Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Fri, 19 Jan 2018 14:29:20 +0100 Subject: [PATCH] snap-sync: correct bug in snapper config handling - exclude sync for given config, if we find multiple instances of already synced snapshots Signed-off-by: Ralf Zerres --- bin/snap-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/snap-sync b/bin/snap-sync index dbc18b3..0d648ea 100755 --- a/bin/snap-sync +++ b/bin/snap-sync @@ -510,7 +510,7 @@ run_config () { "$selected_uuid" "$selected_subvol" "$selected_config" printf "Please cleanup for further processing.\n" | tee PIPE error "Skipping configuration $selected_config." - selected_configs=$(echo $selected_configs | sed -e "s/\($selected_config*\)//") + selected_configs=$(echo $selected_configs | sed -e "s/\($selected_config\)//") continue fi fi