From 33c44324fb1eac278d8121e0ef5e80e28714ab8b Mon Sep 17 00:00:00 2001
From: dir
Date: Thu, 16 Mar 2017 18:37:27 +0100
Subject: Unmount data partition if one was given
---
scripts/install.sh | 3 +++
1 file changed, 3 insertions(+)
(limited to 'scripts')
diff --git a/scripts/install.sh b/scripts/install.sh
index d899d2087..698a4eaa1 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -624,5 +624,8 @@ fi
(( quiet )) || print Finishing up...
cd "$ADK_TOPDIR"
umount_fs "$R"
+if (( datafssz )); then
+ umount_fs $datapart
+fi
rm -rf "$T"
exit 0
--
cgit v1.2.3