Add missing check to httpAddres

This commit is contained in:
AsamK 2022-11-03 15:10:02 +01:00
parent c5eb0fd351
commit e6cf11cb3d

View file

@ -152,6 +152,7 @@ public class DaemonCommand implements MultiLocalCommand, LocalCommand {
!isDbusSystem !isDbusSystem
&& socketFile == null && socketFile == null
&& tcpAddress == null && tcpAddress == null
&& httpAddress == null
&& !(inheritedChannel instanceof ServerSocketChannel) && !(inheritedChannel instanceof ServerSocketChannel)
)) { )) {
runDbusSingleAccount(m, false, receiveMode != ReceiveMode.ON_START); runDbusSingleAccount(m, false, receiveMode != ReceiveMode.ON_START);
@ -233,6 +234,7 @@ public class DaemonCommand implements MultiLocalCommand, LocalCommand {
!isDbusSystem !isDbusSystem
&& socketFile == null && socketFile == null
&& tcpAddress == null && tcpAddress == null
&& httpAddress == null
&& !(inheritedChannel instanceof ServerSocketChannel) && !(inheritedChannel instanceof ServerSocketChannel)
)) { )) {
runDbusMultiAccount(c, receiveMode != ReceiveMode.ON_START, false); runDbusMultiAccount(c, receiveMode != ReceiveMode.ON_START, false);