summaryrefslogtreecommitdiffstats
path: root/rescue
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
commit1a040dd1ff4106a510e98ee4e053818893b526a4 (patch)
treecc5f3d679af2235fa4f75fbc78be402174ea1bbc /rescue
parentf8da22669430f1779ff06dd86ea2a0b53d1a2c44 (diff)
downloaddrakx-backup-do-not-use-1a040dd1ff4106a510e98ee4e053818893b526a4.tar
drakx-backup-do-not-use-1a040dd1ff4106a510e98ee4e053818893b526a4.tar.gz
drakx-backup-do-not-use-1a040dd1ff4106a510e98ee4e053818893b526a4.tar.bz2
drakx-backup-do-not-use-1a040dd1ff4106a510e98ee4e053818893b526a4.tar.xz
drakx-backup-do-not-use-1a040dd1ff4106a510e98ee4e053818893b526a4.zip
trim ending "\n" (needed for next commit)
Diffstat (limited to 'rescue')
-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];
}