minor fix for kvmd-gencert

This commit is contained in:
Devaev Maxim 2020-06-25 12:22:28 +03:00
parent e9d8c041a4
commit dc32b264de

View File

@ -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