diff options
author | Erich Eckner <git@eckner.net> | 2018-04-18 10:26:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-18 10:26:04 +0200 |
commit | cbe003cac057aa62ed44c2bef2fed4b10e4e1924 (patch) | |
tree | 8aab9fbc2a1c85dbec7cf1f2a9b957034854a8ca /bin | |
parent | 89018474081803a70d29dc395203ead76787ce6e (diff) | |
download | builder-cbe003cac057aa62ed44c2bef2fed4b10e4e1924.tar.xz |
bin/build-master-status: decomission ssh-log.html
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-master-status | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/bin/build-master-status b/bin/build-master-status index db118e6..04e8ae8 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -168,40 +168,6 @@ if [ -s "${tmp_dir}/todos" ]; then rm -f "${tmp_dir}/todos" fi -{ - printf '%s\n' \ - '<html>' \ - '<head>' \ - '<title>log of ssh connections from build slaves</title>' \ - '</head>' \ - '<body>' \ - '<table>' - printf '<tr>' - printf '<th>%s</th>' \ - 'time' \ - 'build slave' \ - 'command' \ - 'arguments' - printf '</tr>\n' - if [ -r "${work_dir}/ssh-log" ]; then - tac "${work_dir}/ssh-log" | \ - while read -r date time slave command arguments; do - printf '<tr>' - printf '<td>%s</td>' \ - "${date} ${time}" \ - "${slave}" \ - "${command}" \ - "${arguments}" - printf '</tr>\n' - done - fi - printf '%s\n' \ - '</table>' \ - '</body>' \ - '</html>' -} > \ - "${tmp_dir}/ssh-log.html" - find "${tmp_dir}" -maxdepth 1 -type f | \ while read -r file; do cat "${file}" > \ |