incorrect indentation of output #465

Closed
opened 2025-12-29 01:25:43 +01:00 by adam · 1 comment
Owner

Originally created by @x70b1 on GitHub (Mar 11, 2020).

I get the following output for a dehydrated run:

Processing my-domain.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Jun  1 15:16:19 2020 GMT Certificate will not expire
(Longer than 30 days). Skipping renew!
 + OSCP stapling file is still valid (skipping update)
+ Running automatic cleanup
  • "Longer than .." is printed on a new line
  • There is a space missing in the last line before Running.

Actually only a very small problem, but maybe you want to fix it.
I haven't really looked into it yet. Probably just a combination of echo and printf.

Originally created by @x70b1 on GitHub (Mar 11, 2020). I get the following output for a `dehydrated` run: ``` Processing my-domain.com + Checking domain name(s) of existing cert... unchanged. + Checking expire date of existing cert... + Valid till Jun 1 15:16:19 2020 GMT Certificate will not expire (Longer than 30 days). Skipping renew! + OSCP stapling file is still valid (skipping update) + Running automatic cleanup ``` - "Longer than .." is printed on a new line - There is a space missing in the last line before `Running`. Actually only a very small problem, but maybe you want to fix it. I haven't really looked into it yet. Probably just a combination of `echo` and `printf`.
adam closed this issue 2025-12-29 01:25:43 +01:00
Author
Owner

@lukas2511 commented on GitHub (Apr 2, 2020):

Thanks, the issue was that the openssl expiry check simply printed "Certificate will not expire" on its own and that additionally appended the unwanted line break.

@lukas2511 commented on GitHub (Apr 2, 2020): Thanks, the issue was that the openssl expiry check simply printed "Certificate will not expire" on its own and that additionally appended the unwanted line break.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#465