cleanup some issues found on another computer in distribution
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user