From e1f2ba7f01a6e03dc911a53d96032cc4151f9ac3 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Tue, 14 Jan 2020 15:25:32 +0100 Subject: Use correct path to check whether repo exists --- lifeboat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lifeboat b/lifeboat index 244f732..65a8688 100755 --- a/lifeboat +++ b/lifeboat @@ -29,7 +29,7 @@ test $# -lt 2 && usage repo=$1 shift -test -d "$repo" || errx "$repo: no such repository" +test -d "$rootdir/$repo" || errx "$repo: no such repository" export LIFEBOAT_REPO_NAME=$repo export RESTIC_REPOSITORY=$rootdir/$repo/repo -- cgit v1.2.3-2-gb3c3