Fix --list-only

This commit is contained in:
2026-10-02 12:08:34 +03:00
parent b955356d7a
commit 14b06921d2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -326,6 +326,7 @@ log "Starting migration. dest=$DEST_ROOT dry_run=$DRY_RUN list_only=$LIST_ONLY"
running=0
while IFS= read -r line || [ -n "$line" ]; do
line="${line%%#*}"
line="${line//$'\r'/}"
[ -z "${line// /}" ] && continue
read -r name method host user auth shares <<< "$line"
[ -n "$name" ] || continue