Commit f64c0c9e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Handle missing `setsid` in tmux-display-helper

parent c724c071
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -106,8 +106,10 @@ start_client() {
	if ! tmux has-session; then
		if has systemctl && service_installed; then
			$SERVICE_CTL start $SERVICE_UNIT
		else
		elif has setsid; then
			setsid tmux start-server
		else
			tmux start-server
		fi
	fi
	set_var DISPLAY "$DISPLAY"