* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. f824cd285b72ca1e2837614607b15e93bf6d5819
@ 2016-10-09 10:50 git
0 siblings, 0 replies; only message in thread
From: git @ 2016-10-09 10:50 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via f824cd285b72ca1e2837614607b15e93bf6d5819 (commit)
from 0807ce69eead5a35cdb699b61a48bffdf81ebcc4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f824cd285b72ca1e2837614607b15e93bf6d5819
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Sun Oct 9 12:10:15 2016 +0200
setclock: accept also empty logfile timestamp
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
src/initscripts/init.d/setclock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Difference in files:
diff --git a/src/initscripts/init.d/setclock b/src/initscripts/init.d/setclock
index 19fb891..cc977dd 100644
--- a/src/initscripts/init.d/setclock
+++ b/src/initscripts/init.d/setclock
@@ -32,7 +32,7 @@ case ${1} in
hwclock --hctosys ${CLOCKPARAMS} &>/dev/null
date
- if [ -s /var/log/messages ]; then
+ if [ -e /var/log/messages ]; then
LOGTIMESTAMP=`stat --format "%y" /var/log/messages`
LOGTIME=`date +%s -d "$LOGTIMESTAMP"`
SYSTIME=`date +%s`
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-09 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-09 10:50 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. f824cd285b72ca1e2837614607b15e93bf6d5819 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox