Skip to content

Instantly share code, notes, and snippets.

@neilhwatson
Created February 27, 2017 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilhwatson/b66ccd8bd1b4ff6187f6e08daf5de46f to your computer and use it in GitHub Desktop.
Save neilhwatson/b66ccd8bd1b4ff6187f6e08daf5de46f to your computer and use it in GitHub Desktop.
No error either way
body common control
{
bundlesequence => {
"main",
};
}
bundle agent main
{
methods:
"any" usebundle => test;
}
bundle agent test{
commands:
"/bin/false || /bin/true"
contain => in_shell;
commands:
"/bin/true || /bin/true"
contain => in_shell;
}
body contain in_shell
{
useshell => "true"; # canonical "useshell" but this is backwards-compatible
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment