File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ source "${CRYPTIC_REPO}/lib/common.sh"
9
9
# If we're not authorized, quit out immediately
10
10
if [[ " ${BUILDKITE_PLUGIN_CRYPTIC_PRIVILEGED:- false} " != " true" ]]; then
11
11
echo " Exiting immediately, as we're not privileged"
12
- exit 0
12
+
13
+ # In this case, we don't want to fail silently.
14
+ # So we intentionally exit with non-zero exit code.
15
+ exit 1
13
16
fi
14
17
15
18
# Receive keys from agent environment hook
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ source "${CRYPTIC_REPO}/lib/common.sh"
9
9
# If we're not authorized, quit out immediately
10
10
if [[ " ${BUILDKITE_PLUGIN_CRYPTIC_PRIVILEGED:- false} " != " true" ]]; then
11
11
echo " Exiting immediately, as we're not privileged"
12
- exit 0
12
+
13
+ # In this case, we don't want to fail silently.
14
+ # So we intentionally exit with non-zero exit code.
15
+ exit 1
13
16
fi
14
17
15
18
# If the command hook failed, quit out immediately
You can’t perform that action at this time.
0 commit comments