summaryrefslogtreecommitdiff
path: root/source3/web/swat.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 6a5b4f51f1..508c8944b4 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -308,7 +308,7 @@ static void shares_page(void)
printf("<option value=\" \"> \n");
for (i=0;i<lp_numservices();i++) {
s = lp_servicename(i);
- if (s && (*s) && strcmp(s,"IPC$")) {
+ if (s && (*s) && strcmp(s,"IPC$") && !lp_print_ok(i)) {
printf("<option %s value=\"%s\">%s\n",
(share && strcmp(share,s)==0)?"SELECTED":"",
s, s);