Silence universal variable server error reporting

darcs-hash:20050927083507-ac50b-7ea60eb35b5965e53ff2f70cd4d5eb0221bd0791.gz
This commit is contained in:
axel 2005-09-27 18:35:07 +10:00
parent 6d4e6f40ce
commit d8971f1a17
2 changed files with 2 additions and 2 deletions

2
env.c
View File

@ -43,7 +43,7 @@
/**
Command used to start fishd
*/
#define FISHD_CMD L"fishd ^/tmp/fish.%s.log"
#define FISHD_CMD L"if which fishd >/dev/null; fishd ^/tmp/fish.%s.log; end"
#define ENV_NULL L"\x1d"

View File

@ -273,7 +273,7 @@ void env_universal_barrier()
message_t *msg;
fd_set fds;
if( !init )
if( !init || ( env_universal_server.fd == -1 ))
return;
barrier_reply = 0;