summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2011-04-30 19:51:29 +0200
committerJoerg Jaspert <joerg@debian.org>2011-04-30 19:51:29 +0200
commitc5f2340e4d5e3f9b5073636c3c773240234d7cf1 (patch)
tree9a1d7c5b33e5b19da28d74ee3b7e77ef371e00ae /bin
parent1634dc7e251df33bed3da3b757ac4ff77a5423c6 (diff)
dont include the space into mkeyfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runmirrors2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index 0758c4d..53f97ff 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -215,7 +215,7 @@ while read MTYPE MLNAME MHOSTNAME MUSER MSSHOPT; do
elif [ ${MSSHOPT:0:1} -eq 1 ] || [ ${MSSHOPT:0:1} -eq 2 ]; then
# We do seem to have oldstyle options here.
MPROTO=${MSSHOPT:0:1}
- MKEYFILE=${MSSHOPT:1}
+ MKEYFILE=${MSSHOPT:2}
SSHOPT=""
else
error "I don't know what is configured for mirror ${MLNAME}"