Hide warning if year maildir already exists

GLPI #40270
tags/ipasserelle-base-0.2.70-1
Daniel Berteaud 4 年前
父節點 d09aa0db6f
當前提交 a4c2839d21
  1. 3
      root/etc/cron.monthly/maillog-rotate

@ -24,10 +24,9 @@ fi
MONTH=$(date +%m)
YEAR=$(date +%Y)
su - -s /bin/bash $USER -c "maildirmake -f $YEAR $HOME/Maildir"
su - -s /bin/bash $USER -c "maildirmake -f $YEAR $HOME/Maildir" 2>&1 > /dev/null
su - -s /bin/bash $USER -c "maildirmake -f $YEAR.$MONTH $HOME/Maildir"
# Lock mail delivery
chmod +t $HOME
cd $HOME

載入中…
取消
儲存