From ed892e8f4933fa448f0296db2965e40652c9199a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 25 Nov 2017 16:26:16 +0100 Subject: bin/slave-build-connect: add date/time to ssh log --- bin/slave-build-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/slave-build-connect') diff --git a/bin/slave-build-connect b/bin/slave-build-connect index ff8beac..8a4b96c 100755 --- a/bin/slave-build-connect +++ b/bin/slave-build-connect @@ -15,7 +15,7 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" = "get-assignment" ] || \ fi - printf '%s %s' "$1" "${SSH_ORIGINAL_COMMAND}" >> \ + printf '%s %s %s' "$(date '+%F %T')" "$1" "${SSH_ORIGINAL_COMMAND}" >> \ "${work_dir}/ssh-log" slave="$1" /bin/sh -c "${base_dir}/bin/${SSH_ORIGINAL_COMMAND}" -- cgit v1.2.3-70-g09d2