diff options
-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 , \ |