Changed command shell routing parameters

pull/2/head
Illia Chub 2021-10-25 21:21:55 +03:00
parent b7c8bade4c
commit 4b39d6e4f9
No known key found for this signature in database
GPG Key ID: 5D3581534C02467A
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ def ListAllBackups():
backupListingProcessDescriptor = subprocess.Popen(["restic", "-r", "b2:" +
request.headers.get("X-Repository-Name") + ":/sfbackup",
"snapshots", "--password-file", "/var/lib/restic/rpass", "--json"
], shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
])
snapshotsList = backupListingProcessDescriptor.communicate()[0]