Skip to content

Commit

Permalink
Merge pull request #963 from HubSpot/shell_false
Browse files Browse the repository at this point in the history
also set shell false if pending task cmdLineArgs are set
  • Loading branch information
ssalinas committed Mar 22, 2016
2 parents 5195bec + ca3676a commit 56a1e39
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ private void prepareCommand(final TaskInfo.Builder bldr, final SingularityTaskId
if (task.getDeploy().getArguments().isPresent() ||
// Hopefully temporary workaround for
// http://www.mail-archive.com/user@mesos.apache.org/msg01449.html
task.getDeploy().getContainerInfo().isPresent()) {
task.getDeploy().getContainerInfo().isPresent() ||
task.getPendingTask().getCmdLineArgsList().isPresent()) {
commandBldr.setShell(false);
}

Expand Down

0 comments on commit 56a1e39

Please # to comment.