]> git.pond.sub.org Git - empserver/commitdiff
(move): Don't ask user whether he wants to abandon the sector when
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 May 2004 11:40:14 +0000 (11:40 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 May 2004 11:40:14 +0000 (11:40 +0000)
running on behalf of the test command.  Closes #935470.

src/lib/commands/move.c

index fb4372a4ef88c8ebf93ea6fe45b84a09a8bc66ef..c735ef682f02a155ed3840f63dad8c32077898a7 100644 (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");
        return RET_FAIL;
     }