Ask to look for alternate UFS2 superblocks when the standard one is unusable.
This feature was inadvertently lost in commit c0bfa109b9
.
This commit is contained in:
parent
b43b8f8157
commit
7c332e97bb
@ -129,7 +129,8 @@ reply(const char *question)
|
||||
|
||||
if (preen)
|
||||
pfatal("INTERNAL ERROR: GOT TO reply()");
|
||||
persevere = !strcmp(question, "CONTINUE");
|
||||
persevere = strcmp(question, "CONTINUE") == 0 ||
|
||||
strcmp(question, "LOOK FOR ALTERNATE SUPERBLOCKS") == 0;
|
||||
printf("\n");
|
||||
if (!persevere && (nflag || (fswritefd < 0 && bkgrdflag == 0))) {
|
||||
printf("%s? no\n\n", question);
|
||||
|
Loading…
Reference in New Issue
Block a user