From 1a6c7d1ce250e441ce457124e00f7fa6f8d69c66 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Wed, 23 Oct 2024 18:17:17 +0200 Subject: [PATCH] Add missing s2pexec timeout value evaluation --- cpp/s2pexec/s2pexec_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/s2pexec/s2pexec_core.cpp b/cpp/s2pexec/s2pexec_core.cpp index 7e9212aa..797ec9f3 100644 --- a/cpp/s2pexec/s2pexec_core.cpp +++ b/cpp/s2pexec/s2pexec_core.cpp @@ -131,7 +131,7 @@ bool S2pExec::ParseArguments(span args) optind = 1; int opt; - while ((opt = getopt_long(static_cast(args.size()), args.data(), "b:B:c:d:f:F:h:i:L:t:T:Hnrvx", + while ((opt = getopt_long(static_cast(args.size()), args.data(), "b:B:c:d:f:F:h:i:o:L:t:T:Hnrvx", options.data(), nullptr)) != -1) { switch (opt) { case 'b':