summaryrefslogtreecommitdiff
path: root/hack/golangci-lint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hack/golangci-lint.sh')
-rwxr-xr-xhack/golangci-lint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/golangci-lint.sh b/hack/golangci-lint.sh
index 8c81a3743..03c29c89a 100755
--- a/hack/golangci-lint.sh
+++ b/hack/golangci-lint.sh
@@ -1,6 +1,7 @@
-#!/bin/bash -e
+#!/usr/bin/env bash
# Need to run linter twice to cover all the build tags code paths
+set -e
declare -A BUILD_TAGS
# TODO: add systemd tag