31 lines
847 B
Plaintext
31 lines
847 B
Plaintext
|
--- src/man.c
|
||
|
+++ src/man.c 2007-07-18 14:45:24.091833039 +0200
|
||
|
@@ -2280,21 +2280,23 @@ static void format_display (pipeline *fo
|
||
|
if (!status)
|
||
|
break;
|
||
|
}
|
||
|
- if (!candidate)
|
||
|
- error (CHILD_FAIL, 0,
|
||
|
- "couldn't execute any browser from %s",
|
||
|
- html_pager);
|
||
|
free (browser_list);
|
||
|
if (chdir (old_cwd) == -1) {
|
||
|
error (0, errno, _("can't change to directory %s"),
|
||
|
old_cwd);
|
||
|
chdir ("/");
|
||
|
}
|
||
|
+ if (!status)
|
||
|
+ sleep(5); /* firefox runs into background to fast */
|
||
|
if (remove_directory (htmldir) == -1)
|
||
|
error (0, errno, _("can't remove directory %s"),
|
||
|
htmldir);
|
||
|
free (htmlfile);
|
||
|
free (htmldir);
|
||
|
+ if (!candidate)
|
||
|
+ error (CHILD_FAIL, 0,
|
||
|
+ "couldn't execute any browser from %s",
|
||
|
+ html_pager);
|
||
|
} else
|
||
|
#endif /* TROFF_IS_GROFF */
|
||
|
if (format_cmd) {
|