aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-01-14 15:25:32 +0100
committerWynn Wolf Arbor2020-01-14 15:25:32 +0100
commite1f2ba7f01a6e03dc911a53d96032cc4151f9ac3 (patch)
tree7477bd624a0ee5dc92b2d37b206a5dfaa3de2615
parent97ec3bd5556b923d35020325de4bef9786879575 (diff)
downloadlifeboat-0.1.2.tar.gz
Use correct path to check whether repo exists0.1.2
Diffstat (limited to '')
-rwxr-xr-xlifeboat2
1 files changed, 1 insertions, 1 deletions
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