summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-28 17:25:18 +0200
committertv <tv@xso>2011-08-28 17:25:18 +0200
commit8c521570fe1ff45c22aa1a4c7f93538841fc1665 (patch)
tree5faa04d55b1b1c898eb7cc02d1f266393af8adb9
parentdb1bd874aa518536f81d170facefd75e661afe30 (diff)
cholerab cnot: bail out on bad response
With this commit the curl_flags environmental variable is used to override the default flags to curl (which are -fsS ATM).
-rwxr-xr-xcholerab/knut/clients/cnot/index2
1 files changed, 1 insertions, 1 deletions
diff --git a/cholerab/knut/clients/cnot/index b/cholerab/knut/clients/cnot/index
index f276dd25..fcbef73e 100755
--- a/cholerab/knut/clients/cnot/index
+++ b/cholerab/knut/clients/cnot/index
@@ -11,7 +11,7 @@ port=42101
params="$*"
-flags=-sS
+flags=${curl_flags--fsS}
if test "${verbose-no}" != no; then
flags="${flags+$flags }-v"