From e796b316bf0537109a459baa51149e6d92f48ebe Mon Sep 17 00:00:00 2001 From: Tomasz Stanczak Date: Wed, 12 Feb 2025 08:01:58 +0100 Subject: [PATCH] Setting shell options in a single line. --- tools/ssl_cleanup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ssl_cleanup b/tools/ssl_cleanup index 202084bc..fd246eba 100755 --- a/tools/ssl_cleanup +++ b/tools/ssl_cleanup @@ -2,8 +2,7 @@ # Cleanup SSL certificates which expired more than 7 days ago from $STORAGE_ROOT/ssl and move them to $STORAGE_ROOT/ssl.expired source /etc/mailinabox.conf -shopt -s extglob -shopt -s nullglob +shopt -s extglob nullglob retain_after="$(date --date="7 days ago" +%Y%m%d)"