summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-17 21:09:16 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-17 21:09:16 +0000
commit154b9bae142ba15fec753f44327654595094b879 (patch)
tree027f8ae024961778d5b00c77a72fe302f985d4f3 /scripts
parent2c156e3c7bbade01c36eee18327f1ced6eebea79 (diff)
downloadgitlab-ce-154b9bae142ba15fec753f44327654595094b879.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/security-harness2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/security-harness b/scripts/security-harness
index a0fa57ef042..c101cd03454 100755
--- a/scripts/security-harness
+++ b/scripts/security-harness
@@ -28,7 +28,7 @@ HOOK_DATA = <<~HOOK
if [ -e "$harness" ]
then
- if [["$url" != *"gitlab-org/security/"*]]
+ if [[ "$url" != *"gitlab-org/security/"* ]]
then
echo "Pushing to remotes other than gitlab.com/gitlab-org/security has been disabled!"
echo "Run scripts/security-harness to disable this check."