diff options
author | Hussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com> | 2018-11-22 00:03:33 +0100 |
---|---|---|
committer | Hussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com> | 2018-11-22 00:06:59 +0100 |
commit | f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d (patch) | |
tree | b25e89a0fddc746491c6ae4fa3adbc1b937d8b7c /files/clever-set-drain.sh | |
parent | b17a839d622bdb36ddbe2e0667559c33e9b7fd8a (diff) | |
download | ansible-clever-f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d.tar.gz ansible-clever-f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d.tar.zst ansible-clever-f9a70541d243bfb5cf9a80dc72cb8e55b36f8d2d.zip |
avoid hardcoded bash path in scripts
Diffstat (limited to 'files/clever-set-drain.sh')
-rw-r--r-- | files/clever-set-drain.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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}" |