diff options
author | Michal Čihař <michal@cihar.com> | 2016-12-08 13:42:07 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-12-08 13:42:07 +0300 |
commit | 0c5acc9127e3929b040914586d4f0900629424c3 (patch) | |
tree | 0b943b9dbb1ce3ccc2428cc707593a99def86a85 /test/start-local-server | |
parent | a1a306c7ce108c8bd8ebf7fb0f3ef30ce91c17cc (diff) | |
parent | f2bfa7d745a49ecc6625924a376c66ace194d8d1 (diff) |
Merge branch 'QA_4_6'
Diffstat (limited to 'test/start-local-server')
-rwxr-xr-x | test/start-local-server | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/start-local-server b/test/start-local-server index 72e504db57..27e8d395cb 100755 --- a/test/start-local-server +++ b/test/start-local-server @@ -1,5 +1,11 @@ #!/bin/sh +# Do not run as CGI +if [ -n "$GATEWAY_INTERFACE" ] ; then + echo 'Can not invoke as CGI!' + exit 1 +fi + set -e set -x |