Skip to content

Commit

Permalink
Improve auto-check by 50%
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Mar 4, 2022
1 parent b2a2612 commit 22611de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easytls
Original file line number Diff line number Diff line change
Expand Up @@ -2177,6 +2177,7 @@ status ()
;;
ren|renewed)
silent_status=1
if [ -z "${auto_check}" ]; then
status_easyrsa_valid || {
error_msg "status - renewed - status_easyrsa_valid"
return 1
Expand All @@ -2189,6 +2190,7 @@ status ()
error_msg "status - renewed - status_easytls_inline"
return 1
}
fi
unset -v silent_status
status_easyrsa_renewed || {
error_msg "status - renewed - status_easyrsa_renewed"
Expand Down

1 comment on commit 22611de

@TinCanTech
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.