]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
lftp/rc: No retries after a failed connection.
authorSimon Ruderich <simon@ruderich.org>
Sun, 24 Mar 2013 14:41:18 +0000 (15:41 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 24 Mar 2013 14:41:18 +0000 (15:41 +0100)
lftp/rc

diff --git a/lftp/rc b/lftp/rc
index 0f9eb8eba635173947f74202c9600df18573ac36..90ac4984b2138a9e233710f3e99c842a5cdd99cb 100644 (file)
--- 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