Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone Ignition Gazebo executables #694

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make linters happy
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Aug 18, 2021
commit 05ab591b9c10d469b0379506b51b5b9db82003ea
5 changes: 3 additions & 2 deletions src/cmd/server_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void runServerCommand(const ServerOptions &_opt)
ignerr << "!resourcePathEnv.empty()" << std::endl;

auto resourcePaths = ignition::common::split(resourcePathEnv, ":");
for (auto &resourcePath: resourcePaths)
for (auto & resourcePath: resourcePaths)
{
std::string filePath = resourcePath + _opt.file;
if (ignition::common::exists(filePath))
Expand All @@ -155,7 +155,8 @@ void runServerCommand(const ServerOptions &_opt)
path = std::string(findFuelResource(_opt.file.c_str()));
if (path.empty())
{
ignerr << "Unable to find or download file " << _opt.file << std::endl;
ignerr << "Unable to find or download file "
<< _opt.file << std::endl;
exit(-1);
}
}
Expand Down