From: Martin Schwenke Date: Tue, 7 Jan 2020 05:26:42 +0000 (+1100) Subject: ctdb-tools: Allow shorter runtime limit to be specified X-Git-Tag: ldb-2.1.1~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e59cd25e1a254fc20bf6d0227695bf67cec3d9d;p=thirdparty%2Fsamba.git ctdb-tools: Allow shorter runtime limit to be specified Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index c464c91a4cf..ba994caff2d 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -6341,10 +6341,6 @@ int main(int argc, const char *argv[]) options.maxruntime = 120; } } - if (options.maxruntime <= 120) { - /* default timeout is 120 seconds */ - options.maxruntime = 120; - } if (options.machineparsable) { options.machinereadable = 1;