on a second thought, the default IFS sucks

This commit is contained in:
2015-09-01 13:05:37 +03:00
parent 5dad6a777e
commit 92b8205255
2 changed files with 9 additions and 9 deletions

2
rc.in
View File

@@ -28,7 +28,7 @@ rc.tmpfiles() {
rc.mount() {
for fs in "${cfg_mounts[@]}"; do
echo "$fs" | while read device fs_type mountpoint mount_options; do
echo "$fs" | while IFS=':' read device fs_type mountpoint mount_options; do
[[ "$mount_options" ]] || { mount_options='defaults'; }