From fc2b555cdb3f5254b1f00ce80634b6dc1d5c0925 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 11 Apr 2016 15:24:35 -0700 Subject: [PATCH] Correct date formatting in startup_error() Signed-off-by: Tom Eastep --- Shorewall-core/lib.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-core/lib.common b/Shorewall-core/lib.common index 5b3bfad6d..7e93f37f4 100644 --- a/Shorewall-core/lib.common +++ b/Shorewall-core/lib.common @@ -33,7 +33,7 @@ startup_error() # $* = Error Message echo " ERROR: $@: Firewall state not changed" >&2 if [ $LOG_VERBOSITY -ge 0 ]; then - timestamp="$(date +'%b %d %T') " + timestamp="$(date +'%b %e %T') " echo "${timestamp} ERROR: $@" >> $STARTUP_LOG fi @@ -50,7 +50,7 @@ startup_error() # $* = Error Message esac if [ $LOG_VERBOSITY -ge 0 ]; then - timestamp="$(date +'%b %d %T') " + timestamp="$(date +'%b %e %T') " case $COMMAND in start)