mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
MINOR: warning on multiple -x
Multiple use of the -x option is useless, emit a warning.
This commit is contained in:
parent
45eff44e28
commit
4fc09693d6
@ -1283,7 +1283,10 @@ static void init(int argc, char **argv)
|
||||
Alert("Unix socket path expected with the -x flag\n\n");
|
||||
usage(progname);
|
||||
}
|
||||
if (old_unixsocket)
|
||||
Warning("-x option already set, overwriting the value\n");
|
||||
old_unixsocket = argv[1];
|
||||
|
||||
argv++;
|
||||
argc--;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user