main: return after processing -d switch
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 11 Nov 2013 20:12:12 +0000 (20:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 11 Nov 2013 20:12:12 +0000 (20:12 +0000)
main.c

diff --git a/main.c b/main.c
index 8dc352e4a5e2ca932b5c9db1a29ebedec1bf8dcb..e53a3114c52e76e9c1dfe22c6b49387a5a2ee4d1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -346,6 +346,7 @@ int main(int argc, char **argv)
                        }
 
                        printf("%s", port);
+                       return 0;
                        break;
 
                /* basic auth realm */