summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrescue/guessmounts1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index 3ebc2fee5..eb9617e15 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -99,6 +99,7 @@ if (@roots) {
while ($res < 1 || $res > @roots) {
print "what is your choice (type the number of your selection or C^c to abort)?\n";
$res = <>;
+ chomp($res);
}
$selected = $roots[$res-1];
}