diff options
author | Devaev Maxim <[email protected]> | 2020-06-25 12:22:28 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-06-25 12:22:28 +0300 |
commit | dc32b264de08c451de9133ea0558a14d65ad536b (patch) | |
tree | d107501a33126a32df9d17a3979afc9dc8932451 /scripts/kvmd-gencert | |
parent | e9d8c041a4211d6f058a131d6ff5e392d4f7817e (diff) |
minor fix for kvmd-gencert
Diffstat (limited to 'scripts/kvmd-gencert')
-rwxr-xr-x | scripts/kvmd-gencert | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/kvmd-gencert b/scripts/kvmd-gencert index 90f28485..b2626417 100755 --- a/scripts/kvmd-gencert +++ b/scripts/kvmd-gencert @@ -21,11 +21,8 @@ # ========================================================================== # -set -x set -e -export LC_ALL=C - if [ `whoami` != root ]; then echo "Only root can do that" exit 1 @@ -38,6 +35,10 @@ if [ "$1" != --do-the-thing ]; then exit 1 fi +set -x + +export LC_ALL=C + mkdir -p /etc/kvmd/nginx/ssl cd /etc/kvmd/nginx/ssl |