summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-26 15:09:26 +0200
committerErich Eckner <git@eckner.net>2019-08-26 15:09:26 +0200
commit868fd84307c764519bbc2e7eef9ec529db45977b (patch)
tree899c4656a597b3ace169ae9eca91246a8d5a86bc
parent10d1504f4e51f8f583824abcc432dc78dc1b42eb (diff)
downloadsimple-pki-868fd84307c764519bbc2e7eef9ec529db45977b.tar.xz
generate-and-upload-self-signed-keys.in: cd / to avoid permission issues
-rwxr-xr-xgenerate-and-upload-self-signed-keys.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/generate-and-upload-self-signed-keys.in b/generate-and-upload-self-signed-keys.in
index 619a923..2935462 100755
--- a/generate-and-upload-self-signed-keys.in
+++ b/generate-and-upload-self-signed-keys.in
@@ -6,6 +6,8 @@ fi
key_dir='#ETCDIR#/nginx/keys'
+cd /
+
hosts=$(
find '#ETCDIR#/nginx/' \
-name keys -prune , \