version 1.191.2.9, 2007/01/02 06:14:48
|
version 1.191.2.10, 2007/01/02 07:47:24
|
|
|
| |
#ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION | #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION |
| |
static int _extractExecutorSocket(int& argc, char**& argv) |
static int _extractExecutorSockOpt(int& argc, char**& argv) |
{ | { |
// Extract the "-x <sock>" option if any. This indicates that the | // Extract the "-x <sock>" option if any. This indicates that the |
// e[x]ecutor is running. The option argument is the socket used | // e[x]ecutor is running. The option argument is the socket used |
|
|
| |
// If invoked with "-x <socket>" option, then use executor client. | // If invoked with "-x <socket>" option, then use executor client. |
| |
Executor::setExecutorSocket(_extractExecutorSocket(argc, argv)); |
Executor::setSock(_extractExecutorSockOpt(argc, argv)); |
| |
// Ping executor to be sure the sock was valid. | // Ping executor to be sure the sock was valid. |
| |