mirror of https://github.com/Icinga/icinga2.git
icinga2-build-ca: Fix file count.
This commit is contained in:
parent
e58014844a
commit
10181b3953
|
@ -3,7 +3,7 @@ source $(dirname -- $0)/icinga2-pkifuncs
|
|||
|
||||
check_pki_dir
|
||||
|
||||
if [ $(ls -l -- $ICINGA_CA | wc -l) != 0 ]; then
|
||||
if [ $(ls -1 -- $ICINGA_CA | wc -l) != 0 ]; then
|
||||
echo "The Icinga CA directory must be empty." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue