summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/slave-build-connect3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/slave-build-connect b/bin/slave-build-connect
index a3fdc5d..ff8beac 100755
--- a/bin/slave-build-connect
+++ b/bin/slave-build-connect
@@ -15,6 +15,9 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" = "get-assignment" ] || \
fi
+ printf '%s %s' "$1" "${SSH_ORIGINAL_COMMAND}" >> \
+ "${work_dir}/ssh-log"
+
slave="$1" /bin/sh -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}"
else