* fish.c (open_archive_int): Redirect stderr of start_fish_server

to stdout so we don't get confused if it doesn't exist.
This commit is contained in:
Pavel Roskin 2001-04-17 19:48:03 +00:00
parent 747ebced90
commit f5758a24c9
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-04-17 Pavel Roskin <proski@gnu.org>
* fish.c (open_archive_int): Redirect stderr of start_fish_server
to stdout so we don't get confused if it doesn't exist.
2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
* samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return

View File

@ -246,7 +246,13 @@ open_archive_int (vfs *me, vfs_s_super *super)
}
print_vfs_message( _("fish: Sending initial line...") );
if (command (me, super, WAIT_REPLY, "#FISH\necho; start_fish_server; echo '### 200'\n") != COMPLETE)
/*
* Run `start_fish_server'. If it doesn't exist - no problem,
* we'll talk directly to the shell.
*/
if (command (me, super, WAIT_REPLY,
"#FISH\necho; start_fish_server 2>&1;"
" echo '### 200'\n") != COMPLETE)
ERRNOR (E_PROTO, -1);
print_vfs_message( _("fish: Handshaking version...") );