]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
fixed --domain syntax in test.sh
authorLukas Schauer <lukas@schauer.so>
Fri, 8 Jan 2016 18:25:58 +0000 (19:25 +0100)
committerLukas Schauer <lukas@schauer.so>
Fri, 8 Jan 2016 18:25:58 +0000 (19:25 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 90e54c81dd33f2cd7f0e52eae73211ba511eedac..dc41233c3e740ed174b6cf7c07da1212cdc9d593 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -121,7 +121,7 @@ _CHECK_ERRORLOG
 # Temporarily move config out of the way and try signing certificate by using temporary config location
 _TEST "Try signing using temporary config location and with domain as command line parameter"
 mv config.sh tmp_config.sh
-./letsencrypt.sh --cron --domain "${TMP_URL} ${TMP2_URL}" -f tmp_config.sh > tmplog 2> errorlog || _FAIL "Script execution failed"
+./letsencrypt.sh --cron --domain "${TMP_URL}" --domain "${TMP2_URL}" -f tmp_config.sh > tmplog 2> errorlog || _FAIL "Script execution failed"
 _CHECK_NOT_LOG "Checking domain name(s) of existing cert"
 _CHECK_LOG "Generating private key"
 _CHECK_LOG "Requesting challenge for ${TMP_URL}"