From a73bc873ab7be5e0408233c001a1e4ce18045628 Mon Sep 17 00:00:00 2001 From: Christian Urich Date: Sun, 4 Apr 2021 18:26:22 +0200 Subject: [PATCH] remove wrong argument --- backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.py b/backup.py index da0b3d9..e2a4fc4 100644 --- a/backup.py +++ b/backup.py @@ -31,7 +31,7 @@ def main(): print('({})'.format(cmd)) os.system(cmd) cmd = 'ssh {} "find {} -mindepth 1 -mtime +{} -delete"'.format( - host, hosts[host][service],backup_dir, backup_server_age) + host, hosts[host][service], backup_server_age) print('({})'.format(cmd)) os.system(cmd)