summaryrefslogtreecommitdiff
path: root/subplot/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/client.py')
-rw-r--r--subplot/client.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/subplot/client.py b/subplot/client.py
index d89b7d4..1dcbe8c 100644
--- a/subplot/client.py
+++ b/subplot/client.py
@@ -28,7 +28,17 @@ def run_obnam_restore(ctx, filename=None, genid=None, todir=None):
genid = ctx["vars"][genid]
runcmd_run(
- ctx, ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, todir]
+ ctx,
+ [
+ "env",
+ "RUST_LOG=obnam",
+ "obnam",
+ "--config",
+ filename,
+ "restore",
+ genid,
+ todir,
+ ],
)