(move): Don't ask user whether he wants to abandon the sector when

running on behalf of the test command.  Closes #935470.
This commit is contained in:
Markus Armbruster 2004-05-16 11:40:14 +00:00
parent 052c4d12ef
commit 65ff91877f

View file

@ -155,7 +155,7 @@ move(void)
} }
} }
if (!want_to_abandon(&sect, vtype, amount, 0)) { if (!istest && !want_to_abandon(&sect, vtype, amount, 0)) {
pr("Move cancelled.\n"); pr("Move cancelled.\n");
return RET_FAIL; return RET_FAIL;
} }