17 lines
489 B
Plaintext
17 lines
489 B
Plaintext
$OpenBSD: patch-source3_web_swat_c,v 1.2 2013/01/30 23:22:05 brad Exp $
|
|
--- source3/web/swat.c.orig Tue Jan 29 03:49:31 2013
|
|
+++ source3/web/swat.c Wed Jan 30 06:24:32 2013
|
|
@@ -245,8 +245,10 @@ static int include_html(const char *fname)
|
|
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;
|
|
}
|
|
|