]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tools: Allow shorter runtime limit to be specified
authorMartin Schwenke <martin@meltin.net>
Tue, 7 Jan 2020 05:26:42 +0000 (16:26 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Feb 2020 04:07:39 +0000 (04:07 +0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c

index c464c91a4cf8f9e934dfaf493b6f0584b9ef0049..ba994caff2d1cdc6d4afb4d7b806bfe8a0b0ddf5 100644 (file)
@@ -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;