Add container IDs to debug log

This commit is contained in:
3wc
2021-01-24 19:11:22 +02:00
parent 6cc265e931
commit f90e1d154c
+4
View File
@@ -1142,6 +1142,8 @@ sub_app_run(){
exit
fi
debug "Using Container ID ${CONTAINER}"
# 3wc: we want the "splitting" that shellcheck warns us about, so that -u and
# $RUN_USER aren't treated as a single argument:
# shellcheck disable=SC2086
@@ -1245,6 +1247,8 @@ sub_app_cp() {
exit
fi
debug "Using Container ID ${CONTAINER}"
# Replace $SERVICE with $CONTAINER in the original args
CP_ARGS=$(echo "$SOURCE $DEST" | sed "s/$SERVICE:/$CONTAINER:/")
# FIXME 3wc: this might cause problems for filenames with spaces..