Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: engine-backup: clean env at start ......................................................................
packaging: engine-backup: clean env at start Change-Id: Iec7c2a0d5a0c3314943f6bf90b8728bebf79e7ce Bug-Url: https://bugzilla.redhat.com/1172191 Signed-off-by: Yedidyah Bar David <d...@redhat.com> --- M packaging/bin/engine-backup.sh 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/36373/1 diff --git a/packaging/bin/engine-backup.sh b/packaging/bin/engine-backup.sh index ef0345c..e90d506 100755 --- a/packaging/bin/engine-backup.sh +++ b/packaging/bin/engine-backup.sh @@ -16,6 +16,9 @@ # limitations under the License. # +# Clean the environment, see bz 1172191 +[ -z "${BACKUP_ENV_CLEAN}" ] && exec -c env -i PATH="${PATH}" BACKUP_ENV_CLEAN=1 "$0" "$@" + # Load the prolog: . "$(dirname "$(readlink -f "$0")")"/engine-prolog.sh -- To view, visit http://gerrit.ovirt.org/36373 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iec7c2a0d5a0c3314943f6bf90b8728bebf79e7ce Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches