check for file, not for dir
This commit is contained in:
Родитель
dfcb886138
Коммит
a91893928d
2
lib.sh
2
lib.sh
|
@ -768,7 +768,7 @@ done
|
|||
|
||||
generate_desec_cert() {
|
||||
# Check if the hook is in place
|
||||
if [ ! -d "$SCRIPTS"/deSEC/hook.sh ]
|
||||
if [ ! -f "$SCRIPTS"/deSEC/hook.sh ]
|
||||
then
|
||||
msg_box "Sorry, but it seems like the needed hook for this to work is missing.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче