Skip to content
Snippets Groups Projects
Commit 1cdcc207 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

check backup date on symlink instead of dir

parent 4c1f3194
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,6 @@ def test_last_backup_is_recent(server: str) -> bool: ...@@ -88,7 +88,6 @@ def test_last_backup_is_recent(server: str) -> bool:
"-maxdepth 1", "-maxdepth 1",
"-xtype l", "-xtype l",
"-name latest", "-name latest",
"-exec realpath {} +", # must always be last arg
) )
cmd = "ssh -o StrictHostKeyChecking=no {} '{}'".format(server, find) cmd = "ssh -o StrictHostKeyChecking=no {} '{}'".format(server, find)
status, out = subprocess.getstatusoutput(cmd) status, out = subprocess.getstatusoutput(cmd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment