提交 704479b1 编写于 作者: J Joerg Jaspert

Clearly seperate the various steps of dinstall in the log

Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 c9ca6226
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册