From 88ecf6d17f7c4373eb3ef239eda0c585c9c13c7d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 29 Jan 2009 00:17:33 +0000 Subject: [PATCH] annoy CtRiX git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11546 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/switch.c b/src/switch.c index eb35de4603..19e0578efa 100644 --- a/src/switch.c +++ b/src/switch.c @@ -275,6 +275,10 @@ int main(int argc, char *argv[]) switch_file_t *fd; switch_memory_pool_t *pool = NULL; + if (argv[0] && strstr(argv[0], "freeswitchd")) { + nc++; + } + usageDesc = "these are the optional arguments you can pass to freeswitch\n" #ifdef WIN32 "\t-service [name] -- start freeswitch as a service, cannot be used if loaded as a console app\n"