From e6d2a46a935b4d6be1a769da89ae8536af630698 Mon Sep 17 00:00:00 2001
From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz>
Date: Sun, 13 Dec 2020 11:02:35 +0100
Subject: [PATCH] MOVINGSSH Accept download server from config.

---
 movingssh/movingssh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/movingssh/movingssh b/movingssh/movingssh
index 678b99a..1840131 100755
--- a/movingssh/movingssh
+++ b/movingssh/movingssh
@@ -76,8 +76,7 @@ timeoutCMD="-o ConnectTimeout=$timeout"
 envCMD="-o SendEnv=LD_SSHTYPE"
 keyCMD="-o HostKeyAlias=$name"
 
-downloadServer="jirikalvoda@kam.mff.cuni.cz"
-
+[[ "$downloadServer" == "" ]] && downloadServer="jirikalvoda@kam.mff.cuni.cz"
 
 
 debug()
-- 
GitLab