summaryrefslogtreecommitdiff
path: root/basicmbr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'basicmbr.cc')
-rw-r--r--basicmbr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicmbr.cc b/basicmbr.cc
index fd5f30a..7483734 100644
--- a/basicmbr.cc
+++ b/basicmbr.cc
@@ -1532,7 +1532,7 @@ int BasicMBRData::DoMenu(const string& prompt) {
cout << prompt;
switch (ReadString()[0]) {
case '\0':
- goOn = !cin.eof();
+ goOn = cin.good();
break;
case 'a': case 'A':
num = GetNumber(1, MAX_MBR_PARTS, 1, "Toggle active flag for partition: ") - 1;