You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/06/28 23:14:36 UTC
[2/5] mesos git commit: Fixed an indentation issue in command
executor.
Fixed an indentation issue in command executor.
Review: https://reviews.apache.org/r/49342
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/02b07846
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/02b07846
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/02b07846
Branch: refs/heads/master
Commit: 02b07846239b951119ad11d643a12a4b1544d1c8
Parents: ab1f64b
Author: Jie Yu <yu...@gmail.com>
Authored: Tue Jun 28 12:14:04 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Tue Jun 28 16:14:28 2016 -0700
----------------------------------------------------------------------
src/launcher/posix/executor.cpp | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/02b07846/src/launcher/posix/executor.cpp
----------------------------------------------------------------------
diff --git a/src/launcher/posix/executor.cpp b/src/launcher/posix/executor.cpp
index 93589bf..559475a 100644
--- a/src/launcher/posix/executor.cpp
+++ b/src/launcher/posix/executor.cpp
@@ -202,12 +202,11 @@ pid_t launchTaskPosix(
// The child has successfully setsid, now run the command.
if (override.isNone()) {
if (command.shell()) {
- execlp(
- os::Shell::name,
- os::Shell::arg0,
- os::Shell::arg1,
- command.value().c_str(),
- (char*) nullptr);
+ execlp(os::Shell::name,
+ os::Shell::arg0,
+ os::Shell::arg1,
+ command.value().c_str(),
+ (char*) nullptr);
} else {
execvp(command.value().c_str(), argv);
}