Skip to content
Snippets Groups Projects
Commit 79cdb011 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix printed value of free space, refs #20957

parent d48faa49
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ def test_backup_space(server): ...@@ -60,7 +60,7 @@ def test_backup_space(server):
print('There is less than 20% of available space for backups') print('There is less than 20% of available space for backups')
return False return False
else: else:
print('There is %s%% of free space' % used_perc) print('There is %s%% of free space' % (100 - used_perc))
return True return True
else: else:
print('Failed to check backup space') print('Failed to check backup space')
......
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