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 <ralf.zerres@networkx.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user