create_opendkim_key.sh: don't stop script, if nsuodate runs into an error, only break the script.
This commit is contained in:
parent
7cf626d6fa
commit
05a2b21e95
@ -1230,8 +1230,20 @@ EOF
|
||||
END
|
||||
|
||||
error "$(cat $log_file)"
|
||||
delete_generated_files
|
||||
clean_up 1
|
||||
|
||||
echononl "continue anyway [yes/no]: "
|
||||
read OK
|
||||
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
|
||||
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
|
||||
echononl "Wrong entry! - repeat [yes/no]: "
|
||||
read OK
|
||||
done
|
||||
if [[ $OK = "no" ]] ; then
|
||||
error "Interrupted by user."
|
||||
delete_generated_files
|
||||
clean_up 1
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user