summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-07 14:52:35 +0200
committerSimon Rettberg2024-06-07 14:52:35 +0200
commit8154355a9d10252faae3f4e881ed8e43f4096358 (patch)
tree95b4ea67c95d3bb96ac8b13608edd13d7a50572f
parentAlso deny listing public images in R/O mode (diff)
downloadmasterserver-8154355a9d10252faae3f4e881ed8e43f4096358.tar.gz
masterserver-8154355a9d10252faae3f4e881ed8e43f4096358.tar.xz
masterserver-8154355a9d10252faae3f4e881ed8e43f4096358.zip
Don't check FS ports
-rw-r--r--src/main/java/org/openslx/imagemaster/Globals.java5
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 );