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
commit74e325f2c44361230aa133a61fb35cd3e596a63c (patch)
treed02c08a5af29de7f1f1951760f043bca5c715af2
parentd75d0a901dc562cb3df818dbebd8cced601c9217 (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"