NagiosEnterprises/nagioscore — pull request #2 by philrandal (2014-05-12 19:09:57+00:00)
Title: Fix for bug #0000582 - Incorrect parsing of valid shell commands 

Valid nagios shell commands of the form

command_line VAR='VALUE' /bin/something

were not properly parsed by runcmd.c.

This caused issues with check_mk's flexible notifications.

This patch fixes the issue by dtecting an '=' character before the first space in a command and forcing the use of a command shell the command