Commit c6216d40 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Remove extra argument to cond_shutdown

parent 8dae1216
......@@ -188,7 +188,7 @@ def do_backup(hash_name, options, socket_path, mount, path):
# Connect to server config/hashtoc socket
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)
# Send secondary config to primary
config_hash.makefile('w').write(open(config_path).read())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment