mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 00:34:39 +08:00
X server args parsing fix
This commit is contained in:
parent
8720383cae
commit
bcdc3df715
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user