From dc32b264de08c451de9133ea0558a14d65ad536b Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 25 Jun 2020 12:22:28 +0300 Subject: minor fix for kvmd-gencert --- scripts/kvmd-gencert | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3