summaryrefslogtreecommitdiff
path: root/edit-secrets
diff options
context:
space:
mode:
Diffstat (limited to 'edit-secrets')
-rwxr-xr-xedit-secrets1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-secrets b/edit-secrets
index 2c05197..51bfae8 100755
--- a/edit-secrets
+++ b/edit-secrets
@@ -133,6 +133,7 @@ else
recipient=$($GPG --list-secret-key | grep ^sec | head -1 | awk '{print $2}' | cut -d / -f 2)
save_to="`hostname --fqdn`/overlay${SECRETFILE}"
+ mkdir -p `dirname $save_to`
echo ""
(
echo "STATUS=UPDATED"