diff --git a/main.py b/main.py index 9631e67..c073fdf 100755 --- a/main.py +++ b/main.py @@ -480,7 +480,7 @@ def EnableOcserv(): def ListAllBackups(): backupListingCommand = ''' - restic -r b2:{0}:/sfbackup snapshots list --password-file /var/lib/restic/rpass --json + restic -r b2:{0}:/sfbackup snapshots --password-file /var/lib/restic/rpass --json '''.format(request.headers.get("X-Repository-Name")) backupListingProcessDescriptor = subprocess.Popen(backupListingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)