forked from extern/shorewall_code
Use %e rather than %_d for busybox compatibility
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ec2f4362f3
commit
97e821d12d
@ -67,7 +67,7 @@ progress_message() # $* = Message
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $LOG_VERBOSITY -gt 1 ]; then
|
if [ $LOG_VERBOSITY -gt 1 ]; then
|
||||||
timestamp="$(date +'%b %_d %T') "
|
timestamp="$(date +'%b %e %T') "
|
||||||
echo "${timestamp}$@" >> $STARTUP_LOG
|
echo "${timestamp}$@" >> $STARTUP_LOG
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -83,7 +83,7 @@ progress_message2() # $* = Message
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $LOG_VERBOSITY -gt 0 ]; then
|
if [ $LOG_VERBOSITY -gt 0 ]; then
|
||||||
timestamp="$(date +'%b %_d %T') "
|
timestamp="$(date +'%b %e %T') "
|
||||||
echo "${timestamp}$@" >> $STARTUP_LOG
|
echo "${timestamp}$@" >> $STARTUP_LOG
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -99,7 +99,7 @@ progress_message3() # $* = Message
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $LOG_VERBOSITY -ge 0 ]; then
|
if [ $LOG_VERBOSITY -ge 0 ]; then
|
||||||
timestamp="$(date +'%b %_d %T') "
|
timestamp="$(date +'%b %e %T') "
|
||||||
echo "${timestamp}$@" >> $STARTUP_LOG
|
echo "${timestamp}$@" >> $STARTUP_LOG
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -437,7 +437,7 @@ fatal_error()
|
|||||||
echo " ERROR: $@" >&2
|
echo " ERROR: $@" >&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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user