From c6216d400bd377661621fcf91d6145e340ebef59 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Thu, 4 Feb 2021 11:18:47 +0100 Subject: [PATCH] Remove extra argument to cond_shutdown --- secondary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secondary.py b/secondary.py index 7bb3a38..4f73d06 100644 --- a/secondary.py +++ b/secondary.py @@ -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()) -- GitLab