From 7345b86390939f2feca1ecad1d9104e5696f1420 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 6 Mar 2018 11:00:19 +0100 Subject: [PATCH] syntax error in umount_device() --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 4103121..1e7c46f 100755 --- a/init.sh +++ b/init.sh @@ -167,7 +167,7 @@ fi # unmount if device is mounted umount_device (){ local mounted_part=$(mount | grep "${1}[0-9]" | awk '{print $3}') -if [ ! -z mounted_part ] +if [ ! -z $mounted_part ] then for part in $mounted_part do