From 768dc140636db44908b517758813d3f4376e1f7d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 24 Mar 2013 15:41:18 +0100 Subject: [PATCH] lftp/rc: No retries after a failed connection. --- lftp/rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lftp/rc b/lftp/rc index 0f9eb8e..90ac498 100644 --- a/lftp/rc +++ b/lftp/rc @@ -27,6 +27,10 @@ set bmk:save-passwords yes # Use a colorized prompt. Hostname in green, current directory in blue. set cmd:prompt "lftp \[\e[01;32m\]\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] % " +# No retries after a failed connection, prevents (long) delays e.g. for +# automated jobs. +set net:max-retries 1 + # ALIASES -- 2.44.1