From c4b831f919e695d1c6882fbd76900dfa0f64cab5 Mon Sep 17 00:00:00 2001 From: ShadowKyogre Date: Sat, 11 Feb 2012 17:44:23 -0800 Subject: [PATCH] Add case for handling the Invalid MIT cookie or something. --- src/cdm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cdm b/src/cdm index d5aead5..59094cc 100755 --- a/src/cdm +++ b/src/cdm @@ -128,6 +128,8 @@ else elif [[ $dpyinfo = No\ protocol\ specified* ]]; then # Display is in use by another user let display=display+1 + elif [[ $dpyinfo = Invalid\ MIT* ]];then + let display=display+1 else break fi