Fixed rnstatus output

This commit is contained in:
Mark Qvist 2021-09-25 23:44:59 +02:00
parent dcde5035b9
commit 1749393732

View File

@ -42,7 +42,7 @@ def program_setup(configdir, dispall=False, verbosity = 0):
if ifstat["clients"] != None:
clients = ifstat["clients"]
if name.startswith("Shared Instance["):
clients_string = "Connected applications: "+str(clients-1)
clients_string = "Connected applications: "+str(max(clients-1,0))
else:
clients_string = "Connected clients: "+str(clients)