icinga2-build-ca: Fix file count.

This commit is contained in:
Gunnar Beutner 2013-10-17 14:55:19 +02:00
parent e58014844a
commit 10181b3953
1 changed files with 1 additions and 1 deletions

View File

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