From f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d Mon Sep 17 00:00:00 2001 From: Hussein Ait-Lahcen Date: Thu, 22 Nov 2018 00:03:33 +0100 Subject: avoid hardcoded bash path in scripts --- files/clever-set-domain.sh | 4 +++- files/clever-set-drain.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/files/clever-set-domain.sh b/files/clever-set-domain.sh index bf63be0..4278806 100644 --- a/files/clever-set-domain.sh +++ b/files/clever-set-domain.sh @@ -1,4 +1,6 @@ -#!/bin/bash -e +#!/usr/bin/env bash + +set -e function checkDomain { clever domain | grep "${DOMAIN}" diff --git a/files/clever-set-drain.sh b/files/clever-set-drain.sh index 405cb28..f37498e 100644 --- a/files/clever-set-drain.sh +++ b/files/clever-set-drain.sh @@ -1,4 +1,6 @@ -#!/bin/bash -e +#!/usr/bin/env bash + +set -e function checkDrain { clever drain | grep "${SYSLOG_UDP_SERVER}" -- cgit v1.2.3