Fixed syntax error
parent
4a391bf4a3
commit
74afeb08b4
|
@ -19,15 +19,15 @@ fi
|
|||
if ! [ -f "${CONFIG_FILE}" ]; then
|
||||
printf 'ERROR! %s couldnt find %s\n' "${0}" "${*}" >>"${LOGFILE}"
|
||||
exit 4
|
||||
)
|
||||
fi
|
||||
if ! [ -x '/usr/bin/openssl' ]; then
|
||||
printf 'ERROR! /usr/bin/openssl not found!\n' >>"${LOGFILE}"
|
||||
exit 5
|
||||
)
|
||||
fi
|
||||
if ! [ -f '/etc/ssl/openssl.cnf' ]; then
|
||||
printf 'ERROR! /etc/ssl/openssl.cnf not found!\n' >>"${LOGFILE}"
|
||||
exit 5
|
||||
)
|
||||
fi
|
||||
source "${CONFIG_FILE}"
|
||||
|
||||
hostname="${1}"
|
||||
|
|
Loading…
Reference in New Issue