mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
fix reload dns plugin
This commit is contained in:
parent
927f044dd8
commit
75bfcd95c9
|
@ -6,7 +6,7 @@ import traceback
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if len(sys.argv) < 2:
|
if len(sys.argv) < 4:
|
||||||
sys.stderr.write('python3 reload-dns.py <interface> <peer> <target>\n')
|
sys.stderr.write('python3 reload-dns.py <interface> <peer> <target>\n')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user