path: root/roles/openshift_logging/files
diff options
authorLeonardo Rodrigues de Mello <>2017-02-23 23:53:59 +0000
committerGitHub <>2017-02-23 23:53:59 +0000
commiteb40863bf898c8bef19e978e163c00b055de8f19 (patch)
tree5afd22694f6dab7fdc454e48d92c77f6909e1d9f /roles/openshift_logging/files
parentaec9cd888fdc83b8c3f82f469bd07c66aa5183b1 (diff)
change shell to bash in
The script uses non-posix standard shell features, this breaks the openshift_logging installation if the controller node is running debian or ubuntu. This problem was not spot before because probably all the developers use fedora or redhat/centos and in redhat based distributions the /bin/sh is a symlink to bash. Debian and ubuntu adopted dash a long time ago and in debian/ubuntu controller nodes /bin/sh is a symlink to dash, that does not support the extended feature set required by this script. This commit changes the shell to bash to ensure it is run with a shell interpreter that supports the extended feature.
Diffstat (limited to 'roles/openshift_logging/files')
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging/files/ b/roles/openshift_logging/files/
index 9fe557f83..b5ba7f9d1 100644
--- a/roles/openshift_logging/files/
+++ b/roles/openshift_logging/files/
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
set -ex
function usage() {