fix log overwrite
This commit is contained in:
1 parent
16c8f1afce
commit
6efd48d3c6
1 file changed
+1
-1
+1
-1
@@ -200,7 +200,7 @@ do_start_stop_containers() {
|
|||||||
update_services() {
|
update_services() {
|
||||||
log $DEBUG "$DBG update_services()"
|
log $DEBUG "$DBG update_services()"
|
||||||
mail_log $INFO "$INF update services"
|
mail_log $INFO "$INF update services"
|
||||||
local upd=$($CONTAINER_SVC_UPDATE_USER 2>&1 | tee $LOG_FILE | egrep 'registry\s+true' | sed 's/^.* \([^[:space:]]*\/[^[:space:]]*\).*$/\1/g')
|
local upd=$($CONTAINER_SVC_UPDATE_USER 2>&1 | tee -a $LOG_FILE | egrep 'registry\s+true' | sed 's/^.* \([^[:space:]]*\/[^[:space:]]*\).*$/\1/g')
|
||||||
check_pipe_rc ${PIPESTATUS[@]}
|
check_pipe_rc ${PIPESTATUS[@]}
|
||||||
local rc=$?
|
local rc=$?
|
||||||
for i in $upd; do
|
for i in $upd; do
|
||||||
|
|||||||
Reference in new issue
Block a user