Commit dec95fff authored by Lukas Schauer's avatar Lukas Schauer

load config in cleanup command (fixes #137)

parent a35b89e9
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment