consistency!

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2016-05-31 02:39:23 +03:00
parent 46207e8191
commit f5b697dbea
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ main() {
le_args+=( '-d' "$d" )
done
if ! le "${le_args[@]}"; then
le "${le_args[@]}"
if (( $? )); then
> "$cfg_dir/domains/$certname/renew.fail"
fi
fi