From c81907b0f95d8d403d8ece2855ea46cebfef683c Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Sat, 18 Mar 2023 22:12:31 +0000 Subject: [PATCH] JAL-629 Check for new commandsSuccess before quit --- src/jalview/bin/Jalview.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 5f1f228..046ad90 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -705,7 +705,7 @@ public class Jalview groovyscript = aparser.getValue("groovy", true); file = aparser.getValue("open", true); - if (file == null && desktop == null) + if (file == null && desktop == null && !commandsSuccess) { Jalview.exit("No files to open!", 1); } -- 1.7.10.2