Return value from validation
This commit is contained in:
parent
ece2bca831
commit
858aabb5ba
3 changed files with 1 additions and 8 deletions
|
|
@ -47,7 +47,6 @@ def cdist_configure_wireguard_server(config, server):
|
|||
with open(fname, "w") as fd:
|
||||
fd.write(config)
|
||||
|
||||
|
||||
log.debug("git committing wireguard changes")
|
||||
subprocess.run(f"cd {dirname} && git pull && git add {server} && git commit -m 'Updating config for {server}' && git push",
|
||||
shell=True, check=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue