summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules.d/90mgalive/mgalive-shutdown.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/90mgalive/mgalive-shutdown.sh b/modules.d/90mgalive/mgalive-shutdown.sh
index ae927c2..afb3f9a 100644
--- a/modules.d/90mgalive/mgalive-shutdown.sh
+++ b/modules.d/90mgalive/mgalive-shutdown.sh
@@ -3,9 +3,9 @@ clear
basedev=$(cat /run/mgalive/basedev)
if strstr "$basedev" "/dev/sr" ; then
eject $basedev
+ echo "It is now safe to remove the Live medium"
+ echo "Press <Enter> to continue..."
+ read -t 30 a
fi
-echo "It is now safe to remove the Live medium"
-echo "Press <Enter> to continue..."
-read -t 30 a
return 0