1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

elinks -remote 'ping' says:

ELinks: No remote session to connect to.
but should say:
ELinks: No running ELinks found.
This commit is contained in:
Witold Filipczyk 2006-10-26 21:01:01 +02:00 committed by Witold Filipczyk
parent 4bf3e2693b
commit c9ce4260e5

View File

@ -234,16 +234,15 @@ remote_cmd(struct option *o, unsigned char ***argv, int *argc)
skip_space(arg);
argend = strchr(arg, ')');
}
if (!argend) {
/* Just open any passed URLs in new tabs */
remote_session_flags |= SES_REMOTE_NEW_TAB;
return NULL;
if (!argend) {
/* Just open any passed URLs in new tabs */
remote_session_flags |= SES_REMOTE_NEW_TAB;
return NULL;
}
skipback_whitespace(arg, argend);
}
skipback_whitespace(arg, argend);
for (method = 0; remote_methods[method].name; method++) {
unsigned char *name = remote_methods[method].name;