mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 05:51:29 +00:00
Changed command shell routing parameters
This commit is contained in:
parent
82821603f1
commit
376e38942b
2
main.py
2
main.py
|
@ -481,7 +481,7 @@ def ListAllBackups():
|
|||
backupListingProcessDescriptor = subprocess.Popen(["restic", "-r", "b2:" +
|
||||
request.headers.get("X-Repository-Name") + ":/sfbackup",
|
||||
"snapshots", "list", "--password-file", "/var/lib/restic/rpass", "--json"
|
||||
])
|
||||
], shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
|
||||
snapshotsList = backupListingProcessDescriptor.communicate()[0]
|
||||
|
||||
|
|
Loading…
Reference in a new issue