9d1bd157c2
requested by and ok brad@
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
$OpenBSD: patch-web_swat_c,v 1.4 2006/02/02 09:40:43 mbalmer Exp $
|
|
--- web/swat.c.orig Thu Sep 29 23:52:45 2005
|
|
+++ web/swat.c Tue Oct 4 09:16:29 2005
|
|
@@ -136,8 +136,10 @@ static int include_html(const char *fnam
|
|
fd = web_open(fname, O_RDONLY, 0);
|
|
|
|
if (fd == -1) {
|
|
- printf(_("ERROR: Can't open %s"), fname);
|
|
- printf("\n");
|
|
+ if (strcmp(fname, "help/welcome.html")) {
|
|
+ printf(_("ERROR: Can't open %s"), fname);
|
|
+ printf("\n");
|
|
+ }
|
|
return 0;
|
|
}
|
|
|