From addc813956f675023a8fab5e3e2eef37dea70bfb Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 8 Dec 2024 08:38:17 +0300 Subject: [PATCH] tpws: fix dangling else --- tpws/tpws.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tpws/tpws.c b/tpws/tpws.c index af5f4ab..0cef7d1 100644 --- a/tpws/tpws.c +++ b/tpws/tpws.c @@ -711,10 +711,12 @@ void parse_params(int argc, char *argv[]) while ((v = getopt_long_only(argc, argv, "", long_options, &option_index)) != -1) { if (v) + { if (bDry) exit_clean(1); else exithelp_clean(); + } switch (option_index) { case 0: