summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 567f7bbca7..9df30adc8c 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -646,9 +646,10 @@ int main(int argc,char *argv[])
exit(0);
break;
default:
- if (!is_a_socket(0))
+ if( !is_a_socket(0) )
{
usage(argv[0]);
+ exit(0);
}
break;
}