diff --git a/hello_xclock.sh b/hello_xclock.sh index 665fcda..882daad 100755 --- a/hello_xclock.sh +++ b/hello_xclock.sh @@ -37,11 +37,9 @@ cleanup_stale_logs() { if [ "${1:-}" != "--daemon" ]; then cleanup_stale_logs echo "Launching X11 proxy and container in background..." - mkdir -p "${TEMPBASE}" - # Launch self in background and prepend PID to log nohup "$0" --daemon 2>&1 > "$LOGFILE" & - + sleep 1 #let the pocess start (and echo any nohup warnings) echo "Started background process. Logs: $LOGFILE" exit 0 fi