From: Ben Soares Date: Sat, 18 Mar 2023 22:12:31 +0000 (+0000) Subject: JAL-629 Check for new commandsSuccess before quit X-Git-Tag: Release_2_11_4_0~429 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c81907b0f95d8d403d8ece2855ea46cebfef683c;p=jalview.git JAL-629 Check for new commandsSuccess before quit --- 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); }