sidrefresh's picture
Add files using upload-large-folder tool
e33425b verified
Raw History Blame Contribute Delete
383 Bytes
#!/bin/sh
mkdir -p /logs/artifacts
printf '%s %s %s\n' "$(date -u +%FT%TZ)" "$(basename "$0")" "$*" >> /logs/artifacts/terminal-attempts.log
if command -v xmessage >/dev/null 2>&1; then
DISPLAY="${DISPLAY:-:1}" timeout 20 xmessage -center -buttons OK -default OK \
"This task uses Friction and the Tutorial video. No terminal is available." >/dev/null 2>&1 || true
fi
exit 127