From 868fd84307c764519bbc2e7eef9ec529db45977b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 26 Aug 2019 15:09:26 +0200 Subject: generate-and-upload-self-signed-keys.in: cd / to avoid permission issues --- generate-and-upload-self-signed-keys.in | 2 ++ 1 file changed, 2 insertions(+) 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 , \ -- cgit v1.2.3-70-g09d2