mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-25 15:39:32 -05:00
Fixed rnstatus output
This commit is contained in:
parent
dcde5035b9
commit
1749393732
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user