summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-30 19:38:39 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-30 19:38:39 +0000
commitc653cceece468a8149a31a3b4d9e9ec8213b40aa (patch)
treecc5f3d679af2235fa4f75fbc78be402174ea1bbc /rescue/guessmounts
parentd5b00fba60ce7b9aaf7d9115ae06f1da24ec40b8 (diff)
downloaddrakx-c653cceece468a8149a31a3b4d9e9ec8213b40aa.tar
drakx-c653cceece468a8149a31a3b4d9e9ec8213b40aa.tar.gz
drakx-c653cceece468a8149a31a3b4d9e9ec8213b40aa.tar.bz2
drakx-c653cceece468a8149a31a3b4d9e9ec8213b40aa.tar.xz
drakx-c653cceece468a8149a31a3b4d9e9ec8213b40aa.zip
trim ending "\n" (needed for next commit)
Diffstat (limited to 'rescue/guessmounts')
-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];
}