All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit ea4a5daa authored by Mike Hibler's avatar Mike Hibler

Expose the debug flag so we can get errors to stderr instead of syslog.

parent df5d7cdb
......@@ -68,8 +68,8 @@ main(int argc, char **argv)
{
int rv;
UploadLogInit();
parse_args(argc, argv);
UploadLogInit();
net_init();
......@@ -89,8 +89,11 @@ static void
parse_args(int argc, char **argv)
{
int ch;
while ((ch = getopt(argc, argv, "m:p:i:b:I:T:s:A:")) != -1) {
while ((ch = getopt(argc, argv, "m:p:i:b:I:T:s:A:d")) != -1) {
switch (ch) {
case 'd':
debug++;
break;
case 'm':
if (!inet_aton(optarg, &clientip)) {
fprintf(stderr, "Invalid client IP '%s'\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment