mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[interlink] Fixed elinks -remote 'ping()'
This commit is contained in:
parent
83706c49ba
commit
f89b26d5b2
@ -46,6 +46,7 @@
|
|||||||
#include "main/interlink.h"
|
#include "main/interlink.h"
|
||||||
#include "main/select.h"
|
#include "main/select.h"
|
||||||
#include "osdep/osdep.h"
|
#include "osdep/osdep.h"
|
||||||
|
#include "session/session.h"
|
||||||
#include "util/conv.h"
|
#include "util/conv.h"
|
||||||
#include "util/error.h"
|
#include "util/error.h"
|
||||||
#include "util/memory.h"
|
#include "util/memory.h"
|
||||||
@ -517,7 +518,7 @@ init_interlink(void)
|
|||||||
int fd = connect_to_af_unix();
|
int fd = connect_to_af_unix();
|
||||||
int pid;
|
int pid;
|
||||||
|
|
||||||
if (fd != -1) return fd;
|
if (fd != -1 || remote_session_flags) return fd;
|
||||||
|
|
||||||
pid = fork();
|
pid = fork();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user