aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 9b03710..f5141e1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -56,6 +56,7 @@ struct prog_params parse_args(int argc, char* argv[])
//Copy the rest as arguments for prog to exec
ret.run_argc = argc - i_cpy;
ret.run_argv = &(argv[i_cpy]);
+ break;
}//else
}//for
@@ -136,6 +137,8 @@ int main(int argc, char* argv[])
fclose (pidfile);
}//if params.fork
+ DEBUG_PRINTF("%s, %i\n", params.run_argv[0], params.run_argc);
+
if ( params.serial )
dialup_server(params);
else if (params.telnet)