mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-24 01:51:05 +01:00
load config in cleanup command (fixes #137)
This commit is contained in:
@@ -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