summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2020-01-07 16:26:42 +1100
committerAmitay Isaacs <amitay@samba.org>2020-02-10 04:07:39 +0000
commit0e59cd25e1a254fc20bf6d0227695bf67cec3d9d (patch)
treedc7120d00ee59e5a9cfea10db3f64882dc3c8613 /ctdb
parent39206fd327f1ea154a8936b99cba0bf9bf221484 (diff)
downloadsamba-0e59cd25e1a254fc20bf6d0227695bf67cec3d9d.tar.gz
ctdb-tools: Allow shorter runtime limit to be specified
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/tools/ctdb.c4
1 files changed, 0 insertions, 4 deletions
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;