summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-04-16 22:41:17 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-04-16 22:41:17 +0000
commitbcdc3df71560286f08ca6fae865a8aaad1a16ed3 (patch)
treee24ea541b006a39a9594e7be844adacce5536736
parent8720383cae063462a97c39f7bccdc5340a58594a (diff)
X server args parsing fix
-rwxr-xr-xscripts/bluepin2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bluepin b/scripts/bluepin
index a1c51ab2..6246283e 100755
--- a/scripts/bluepin
+++ b/scripts/bluepin
@@ -18,7 +18,7 @@ def set_display():
r,w = popen2.popen2(ps)
arg = string.split(r.read())
for i in range(1, len(arg)):
- if arg[i][0] != '-':
+ if arg[i][0] != '-' and i==1:
disp = arg[i]
elif arg[i] == "-auth":
auth = arg[i+1]