From 0facff3a0129ebe2a42cd4a8c20cea5fa420ef0d Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Tue, 14 Mar 2017 20:10:26 +0100 Subject: [PATCH] Fix handling of binds containing spaces ```bash binds+=( '/etc/tmp/s s' ) ``` was handled incorrectly before. --- vm-systemd/bind-dirs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/bind-dirs.sh b/vm-systemd/bind-dirs.sh index 9a6b393..33ffd95 100755 --- a/vm-systemd/bind-dirs.sh +++ b/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"