Mase3206 / dotfiles

Humble dotfiles
The Unlicense
0 stars 0 forks source link

Empty lines in known.txt throws an error #6

Open Mase3206 opened 2 months ago

Mase3206 commented 2 months ago

When running ./quicksync.sh --from known.txt sync, "quicksync.sh" iterates over each line in "known.txt" to get the file names to sync, but an empty line will result in it attempting to remove and re-link an empty path, resulting in an error. Maybe add a check to see if the line is empty and ignore it?