From 704479b16c0ad29ae2eaa41855f52a623dac1761 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 30 Aug 2015 23:25:03 +0200 Subject: [PATCH] Clearly seperate the various steps of dinstall in the log Signed-off-by: Joerg Jaspert --- config/debian/cron.dinstall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 3d573b5b..4e8c1f28 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -74,6 +74,8 @@ function stage() { error=${ERR:-"true"} ARGS=${ARGS:-""} + + log "########## DINSTALL BEGIN: ${FUNC} ${ARGS} ##########" STAGEFILE="${stagedir}/${FUNC}_${ARGS}" STAGEFILE=${STAGEFILE// /_} if [ -f "${STAGEFILE}" ]; then @@ -132,6 +134,8 @@ function stage() { cat "${STAGEFILE}.log" >> "${LOGFILE}" rm -f "${STAGEFILE}.log" + echo "########## DINSTALL END: ${FUNC} ##########" + if [ -f "${LOCK_STOP}" ]; then log "${LOCK_STOP} exists, exiting immediately" exit 42 -- 2.39.5