Skip to content
Snippets Groups Projects
Commit c6216d40 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Remove extra argument to cond_shutdown

parent 8dae1216
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,7 @@ def do_backup(hash_name, options, socket_path, mount, path): ...@@ -188,7 +188,7 @@ def do_backup(hash_name, options, socket_path, mount, path):
# Connect to server config/hashtoc socket # Connect to server config/hashtoc socket
config_hash = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) config_hash = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
atexit.register(cond_shutdown, config_hash, log) atexit.register(cond_shutdown, config_hash)
config_hash.connect(socket_path) config_hash.connect(socket_path)
# Send secondary config to primary # Send secondary config to primary
config_hash.makefile('w').write(open(config_path).read()) config_hash.makefile('w').write(open(config_path).read())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment