diff options
-rwxr-xr-x | scripts/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 87fef1373..c7ab63eaa 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -173,7 +173,8 @@ case $ostype { ;; } -mount | while read dev rest; do +mount |& +while read -p dev rest; do eval [[ \$dev = $match ]] || continue print -u2 "Block device $tgt is in use, please umount first." exit 1 |