1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(restic): remove tmp dir

This commit is contained in:
2022-01-23 14:26:54 +01:00
parent 13b8154a2b
commit c3d94e5c49

View File

@@ -31,7 +31,7 @@ in
mountdir=$(mktemp -d)
trap clean EXIT
clean() {
rm "$mountdir"
rm -r "$mountdir"
}
${pkgs.restic}/bin/restic -r ${restic.repository} -p ${<secrets/restic/password>} mount "$mountdir"
'')