From: Simon Ruderich Date: Sun, 24 Mar 2013 14:41:18 +0000 (+0100) Subject: lftp/rc: No retries after a failed connection. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=768dc140636db44908b517758813d3f4376e1f7d;p=config%2Fdotfiles.git lftp/rc: No retries after a failed connection. --- 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