diff options
Diffstat (limited to 'localimap')
-rwxr-xr-x | localimap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ export LOGFILE="$HOME/dovecot.log" #export LOGFILE="/dev/null" # Avoid LOGFILE growing endlessly -if [ "`ls -s "$LOGFILE" | awk '{print $1}'`" -gt 500 ]; then +if [ -f "$LOGFILE" ] && [ "`ls -s "$LOGFILE" | awk '{print $1}'`" -gt 500 ]; then mv -f "$LOGFILE" "$LOGFILE.bak" fi |