forked from extern/shorewall_code
Correct date formatting in startup_error()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
16afd880b2
commit
fc2b555cdb
@ -33,7 +33,7 @@ startup_error() # $* = Error Message
|
|||||||
echo " ERROR: $@: Firewall state not changed" >&2
|
echo " ERROR: $@: Firewall state not changed" >&2
|
||||||
|
|
||||||
if [ $LOG_VERBOSITY -ge 0 ]; then
|
if [ $LOG_VERBOSITY -ge 0 ]; then
|
||||||
timestamp="$(date +'%b %d %T') "
|
timestamp="$(date +'%b %e %T') "
|
||||||
echo "${timestamp} ERROR: $@" >> $STARTUP_LOG
|
echo "${timestamp} ERROR: $@" >> $STARTUP_LOG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ startup_error() # $* = Error Message
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $LOG_VERBOSITY -ge 0 ]; then
|
if [ $LOG_VERBOSITY -ge 0 ]; then
|
||||||
timestamp="$(date +'%b %d %T') "
|
timestamp="$(date +'%b %e %T') "
|
||||||
|
|
||||||
case $COMMAND in
|
case $COMMAND in
|
||||||
start)
|
start)
|
||||||
|
Loading…
Reference in New Issue
Block a user