LaundrySorcery

git clone git://xatko.vsos.ethz.ch/LaundrySorcery.git
Log | Files | Refs

commit 43d3fa5679b840db27d2074c21225dcda9496a80
parent e1340eba7b23b8aad208bbb0116695f279d63a66
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Wed,  4 Jul 2018 12:10:01 +0000

Adapt the cluster cron-file to match new developments (i.e. the argument parsing of laundryclustery)

Also, fix an error in the sed-script.

Diffstat:
Mdist/cron.daily/laundrysorcery_cluster.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/cron.daily/laundrysorcery_cluster.in b/dist/cron.daily/laundrysorcery_cluster.in @@ -3,4 +3,4 @@ LOG_FILE="/var/log/laundrysorcery.log" CLUSTER_FILE="WWWDIR/clusters" -sed '1d;$!b;/ /!d' "${LOG_FILE}" | /usr/local/bin/laundryclustery - > "${CLUSTER_FILE}" +sed '/^[0-9]\+ [0-9]\+$/!d' "${LOG_FILE}" | /usr/local/bin/laundryclustery -- - > "${CLUSTER_FILE}"