From 7d10f3d19308956abfe57c6e6fe914e6e7532186 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 25 Sep 2020 12:43:54 +0200 Subject: [PATCH] Capture errors via bash -e flag --- plugin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin.sh b/plugin.sh index 603aa20..c4b21b5 100755 --- a/plugin.sh +++ b/plugin.sh @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/bash + +set -e PLUGIN_COMPOSE=${PLUGIN_COMPOSE:-compose.yml} PLUGIN_HOST=${PLUGIN_HOST:-swarm.autonomic.zone}