diff options
author | Hussein A <44173825+haitlahcen@users.noreply.github.com> | 2018-11-22 08:26:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-22 08:26:41 +0100 |
commit | 7778d938b98ee3086a00fc4c932f442d648d23ef (patch) | |
tree | b25e89a0fddc746491c6ae4fa3adbc1b937d8b7c /files | |
parent | b17a839d622bdb36ddbe2e0667559c33e9b7fd8a (diff) | |
parent | f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d (diff) | |
download | ansible-clever-7778d938b98ee3086a00fc4c932f442d648d23ef.tar.gz ansible-clever-7778d938b98ee3086a00fc4c932f442d648d23ef.tar.zst ansible-clever-7778d938b98ee3086a00fc4c932f442d648d23ef.zip |
Merge pull request #21 from haitlahcen/fix-scripts
avoid hardcoded bash path in scripts
Diffstat (limited to 'files')
-rw-r--r-- | files/clever-set-domain.sh | 4 | ||||
-rw-r--r-- | 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 @@ | |||
1 | #!/bin/bash -e | 1 | #!/usr/bin/env bash |
2 | |||
3 | set -e | ||
2 | 4 | ||
3 | function checkDomain { | 5 | function checkDomain { |
4 | clever domain | grep "${DOMAIN}" | 6 | 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 @@ | |||
1 | #!/bin/bash -e | 1 | #!/usr/bin/env bash |
2 | |||
3 | set -e | ||
2 | 4 | ||
3 | function checkDrain { | 5 | function checkDrain { |
4 | clever drain | grep "${SYSLOG_UDP_SERVER}" | 6 | clever drain | grep "${SYSLOG_UDP_SERVER}" |