mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Silence universal variable server error reporting
darcs-hash:20050927083507-ac50b-7ea60eb35b5965e53ff2f70cd4d5eb0221bd0791.gz
This commit is contained in:
parent
6d4e6f40ce
commit
d8971f1a17
2
env.c
2
env.c
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user