mirror of
https://github.com/house-of-vanity/Wireguard-Peer-Manager.git
synced 2025-07-06 09:14:07 +00:00
fix
This commit is contained in:
2
gen.py
2
gen.py
@ -168,7 +168,7 @@ def wg_if_status(config="all"):
|
||||
else:
|
||||
pass
|
||||
for interface in set(wg_state):
|
||||
cmd = ["systemctl", "show", f"wg-quick@{interface}", "--property", "InactiveEnterTimestamp"]
|
||||
cmd = ["systemctl", "show", f"wg-quick@{interface}", "--property", "ActiveEnterTimestamp"]
|
||||
proc = Popen(cmd,
|
||||
stdout=PIPE,
|
||||
stderr=PIPE,
|
||||
|
Reference in New Issue
Block a user