Skip to content

Conversation

@craigcomstock
Copy link
Contributor

The issue was that the entire command line was sent and the '&' which should be a command separator was instead being interpreted as another argument.

This caused the argument parser to try and interpret '&' as the filename as in this special syntax: "cf-agent " and since there is more text after '&' in the existing cfruncommand value the "Too many arguments" error is caused.

Ticket: ENT-13530
Changelog: title

The issue was that the entire command line was sent and the '&' which should be a command separator was instead being interpreted as another argument.

This caused the argument parser to try and interpret '&' as the filename as in this special syntax: "cf-agent <policy-file>" and since there is more text after '&' in the existing cfruncommand value the "Too many arguments" error is caused.

Ticket: ENT-13530
Changelog: title
@olehermanse
Copy link
Member

@cf-bottom jenkins, please

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

@craigcomstock
Copy link
Contributor Author

CI failures are known issue ENT-13529

@craigcomstock craigcomstock merged commit c9521a4 into cfengine:master Nov 25, 2025
39 of 41 checks passed
@craigcomstock craigcomstock deleted the ent-13530/master branch November 25, 2025 16:33
@craigcomstock
Copy link
Contributor Author

cherry picks at #3084 and #3085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants