(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:
parent
052c4d12ef
commit
65ff91877f
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ move(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!want_to_abandon(§, vtype, amount, 0)) {
|
||||
if (!istest && !want_to_abandon(§, vtype, amount, 0)) {
|
||||
pr("Move cancelled.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue