diff --git a/CHANGELOG.md b/CHANGELOG.md index 651a3a1..e82f092 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - pot-cmd: Output problems with pot root to stderr (#254) - version: Don't require pot root to exist to run version command (#253) +- mount-in: Skip empty lines in fscomp.conf during mount process (#258) ## [0.15.4] 2022-12-15 ### Added diff --git a/share/pot/common.sh b/share/pot/common.sh index 855dc8c..e84adae 100644 --- a/share/pot/common.sh +++ b/share/pot/common.sh @@ -973,6 +973,10 @@ _pot_mount() return 1 # false fi while read -r line ; do + if [ -z "$line" ]; then + _debug "Empty line found. Skipping." + continue + fi _dset=$( echo "$line" | awk '{print $1}' ) _mnt_p=$( echo "$line" | awk '{print $2}' ) _opt=$( echo "$line" | awk '{print $3}' )