Fix --list-only
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user