eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject eagle git commit: [MINOR] Fix ServerMain CLI
Date Fri, 24 Feb 2017 04:39:14 GMT
Repository: eagle
Updated Branches:
  refs/heads/master 75586658b -> 5ec75f2ab


[MINOR] Fix ServerMain CLI


Project: http://git-wip-us.apache.org/repos/asf/eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/5ec75f2a
Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/5ec75f2a
Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/5ec75f2a

Branch: refs/heads/master
Commit: 5ec75f2abce494d01319998c3970301c991960bd
Parents: 7558665
Author: Hao Chen <hao@apache.org>
Authored: Fri Feb 24 12:38:29 2017 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Fri Feb 24 12:38:29 2017 +0800

----------------------------------------------------------------------
 eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/5ec75f2a/eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java
----------------------------------------------------------------------
diff --git a/eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java b/eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java
index 412dc2e..fc435e4 100644
--- a/eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java
+++ b/eagle-server/src/main/java/org/apache/eagle/server/ServerMain.java
@@ -29,7 +29,7 @@ public class ServerMain {
         + "\tencrypt\t[text to encrypt]\n";
 
     public static void main(String[] args) {
-        if (args.length > 1) {
+        if (args.length > 0) {
             String cmd = args[0];
 
             switch (cmd) {


Mime
View raw message