From 1a040dd1ff4106a510e98ee4e053818893b526a4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 30 Apr 2013 19:38:39 +0000 Subject: trim ending "\n" (needed for next commit) --- rescue/guessmounts | 1 + 1 file changed, 1 insertion(+) (limited to 'rescue') 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]; } -- cgit v1.2.1