Browse Source

Fix handling of binds containing spaces

```bash
binds+=( '/etc/tmp/s s' )
```

was handled incorrectly before.
Robin Schneider 7 years ago
parent
commit
0facff3a01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vm-systemd/bind-dirs.sh

+ 1 - 1
vm-systemd/bind-dirs.sh

@@ -55,7 +55,7 @@ bind_dirs() {
    ## ro: read-only
    ## rw: read-write
 
-   for fso_ro in ${binds[@]}; do
+   for fso_ro in "${binds[@]}"; do
       local symlink_level_counter
       symlink_level_counter="0"