diff --git a/pki/icinga2-pkifuncs b/pki/icinga2-pkifuncs index 9affdcb2e..661e05e4a 100644 --- a/pki/icinga2-pkifuncs +++ b/pki/icinga2-pkifuncs @@ -1,7 +1,7 @@ function check_pki_dir { if [ -z "$ICINGA_CA" ]; then echo "Please set the ICINGA_CA environment variable to the path for your Icinga CA." >&2 - echo "e.g.: export ICINGA_CA=\"/home/$(id -un)/icinga-ca\"" >&2 + echo "e.g.: export ICINGA_CA=\"$HOME/icinga-ca\"" >&2 exit 1 fi