From f90e1d154ca89988b1b05036424109817f8f0cc2 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sun, 24 Jan 2021 19:07:25 +0200 Subject: [PATCH] Add container IDs to debug log --- abra | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/abra b/abra index e82a9dc..e05ae5f 100755 --- a/abra +++ b/abra @@ -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..