瀏覽代碼

Fix handling of binds containing spaces

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

was handled incorrectly before.
Robin Schneider 7 年之前
父節點
當前提交
0facff3a01
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"