output << " Exec:" << arg.running();
}
-
return output; // for multiple << operators
}
fatal_message("has_pid() failed, programer error");
}
- Application app(name(), is_libtool());
+ Application app(executable(), is_libtool());
if (args(app) == false)
{
Error << "Could not build command()";
Error << "Application::run() " << ret;
return false;
}
+ _running= app.print();
if (Application::SUCCESS != (ret= app.wait()))
{
- Error << "Application::wait() " << ret;
+ Error << "Application::wait() " << app.print() << " " << ret;
return false;
}
app.add_option(daemon_file_option());
}
- if (_is_socket and has_socket_file_option())
+ if (has_socket_file_option())
{
- if (not set_socket_file())
+ Error << "adding socket option ";
+ if (set_socket_file() == false)
{
return false;
}