From c6c5540c50cf4f0d87c7a544d8c7a3cbb3523da2 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Oct 01 2014 12:45:22 +0000 Subject: Try fix for shellshock changes in bash module handling --- diff --git a/plugins/shell_api.py b/plugins/shell_api.py index fc4269f..82af6e2 100644 --- a/plugins/shell_api.py +++ b/plugins/shell_api.py @@ -40,6 +40,7 @@ ENVIRON_TEMPLATE = """ # shell API plugin. No need to modify it or anything. # +declare -f +x module unset $(env | sed -n 's/=.*//p') PATH=/bin:/usr/bin:/sbin/:/usr/sbin