diff options
author | Erich Eckner <git@eckner.net> | 2019-08-26 15:09:26 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-26 15:09:26 +0200 |
commit | 868fd84307c764519bbc2e7eef9ec529db45977b (patch) | |
tree | 899c4656a597b3ace169ae9eca91246a8d5a86bc | |
parent | 10d1504f4e51f8f583824abcc432dc78dc1b42eb (diff) | |
download | simple-pki-868fd84307c764519bbc2e7eef9ec529db45977b.tar.xz |
generate-and-upload-self-signed-keys.in: cd / to avoid permission issues
-rwxr-xr-x | generate-and-upload-self-signed-keys.in | 2 |
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 , \ |