diff options
-rw-r--r-- | src/main/java/org/openslx/imagemaster/Globals.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/org/openslx/imagemaster/Globals.java b/src/main/java/org/openslx/imagemaster/Globals.java index cfe4cd9..690996e 100644 --- a/src/main/java/org/openslx/imagemaster/Globals.java +++ b/src/main/java/org/openslx/imagemaster/Globals.java @@ -44,10 +44,7 @@ public class Globals Util.notNullFatal( getSessionTimeoutUser(), "Session timeout user must be set." ); Util.notNullFatal( getSessionTimeoutServer(), "Session timeout server must be set." ); - if ( getFiletransferPortSsl() == 0 && getFiletransferPortPlain() == 0 ) { - LOGGER.fatal( "either SSL or plain port for file transfer must be set." ); - System.exit( 2 ); - } + if ( getThriftPortSsl() == 0 && getThriftPortPlain() == 0 ) { LOGGER.fatal( "either SSL or plain port for thrift must be set." ); System.exit( 2 ); |