mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
xwayland: Fix typo
Check the unix_fd, which is the one just created, the abstract_fd is already checked above.
This commit is contained in:
parent
8913cbb06d
commit
dd549604e2
@ -426,7 +426,7 @@ choose_xdisplay (MetaXWaylandManager *manager)
|
|||||||
}
|
}
|
||||||
|
|
||||||
manager->unix_fd = bind_to_unix_socket (display);
|
manager->unix_fd = bind_to_unix_socket (display);
|
||||||
if (manager->abstract_fd < 0)
|
if (manager->unix_fd < 0)
|
||||||
{
|
{
|
||||||
unlink (lock_file);
|
unlink (lock_file);
|
||||||
close (manager->abstract_fd);
|
close (manager->abstract_fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user