mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-15 05:12:04 +01:00
load config in cleanup command (fixes #137)
This commit is contained in:
1 parent
a35b89e914
commit
dec95fff15
1 file changed
+2
@@ -666,6 +666,8 @@ command_revoke() {
|
||||
# Usage: --cleanup (-gc)
|
||||
# Description: Move unused certificate files to archive directory
|
||||
command_cleanup() {
|
||||
load_config
|
||||
|
||||
# Create global archive directory if not existant
|
||||
if [[ ! -e "${BASEDIR}/archive" ]]; then
|
||||
mkdir "${BASEDIR}/archive"
|
||||
|
||||
Reference in new issue
Block a user