From 65ff91877fa50dc2203758179317015ca0841b0a Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 16 May 2004 11:40:14 +0000 Subject: [PATCH] (move): Don't ask user whether he wants to abandon the sector when running on behalf of the test command. Closes #935470. --- src/lib/commands/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/move.c b/src/lib/commands/move.c index fb4372a4..c735ef68 100644 --- a/src/lib/commands/move.c +++ b/src/lib/commands/move.c @@ -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; }