[arch-projects] [initscripts][PATCH 4/7] functions: properly quote ${mounts[@]}

Dave Reisner d at falconindy.com
Sun Nov 6 19:27:38 EST 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
This one is fairly important...

 functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/functions b/functions
index d388260..7de58c1 100644
--- a/functions
+++ b/functions
@@ -485,7 +485,7 @@ umount_all() {
 		mounts+=("$target")
 	done < <(findmnt -runRo TARGET,FSTYPE,OPTIONS / | tac)
 
-	umount -r ${mounts[@]}
+	umount -r "${mounts[@]}"
 
 }
 
-- 
1.7.7.2



More information about the arch-projects mailing list