qrexec: use distinct exit code for timeout

This will allow for better error reporting
pull/40/head
Marek Marczykowski-Górecki 6 years ago
parent d48f5599d3
commit cd23a035c5
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -271,7 +271,7 @@ void init(int xid)
}
}
fprintf(stderr, "Cannot connect to '%s' qrexec agent for %d seconds, giving up\n", remote_domain_name, startup_timeout);
exit(1);
exit(3);
}
close(0);
snprintf(qrexec_error_log_name, sizeof(qrexec_error_log_name),

Loading…
Cancel
Save