Index: usr.sbin/newsyslog/newsyslog.c =================================================================== --- usr.sbin/newsyslog/newsyslog.c +++ usr.sbin/newsyslog/newsyslog.c @@ -532,7 +532,7 @@ printf("does not exist, skipped%s.\n", temp_reason); } } else { - if (ent->flags & CE_NOEMPTY && (ent->fsize == 0)) { + if (ent->flags & CE_NOEMPTY && ent->fsize == 0) { if (verbose) printf("--> Not rotating empty file\n"); return (free_or_keep); Index: usr.sbin/newsyslog/newsyslog.conf.5 =================================================================== --- usr.sbin/newsyslog/newsyslog.conf.5 +++ usr.sbin/newsyslog/newsyslog.conf.5 @@ -288,7 +288,15 @@ command treats the log file when making a file system backup. .It Cm E indicates that the log file should not be rotated when its -size is zero. +size is zero. The +.Cm E +flag is mostly useful in conjunction with +.Cm B +flag to prevent +.Xr newsyslog 8 +from inserting an informational +.Tn ASCII +message into the new file. .It Cm G indicates that the specified .Ar logfile_name