Run server_command instead of hardcoded LIBGTOP_SERVER.
This commit is contained in:
committed by
Robert Roth
parent
c7f7e5a1c6
commit
f04ce61b80
@@ -141,7 +141,7 @@ _init_server (glibtop *server, const unsigned features)
|
||||
|
||||
/* Open pipe to server. */
|
||||
server->method = GLIBTOP_METHOD_PIPE;
|
||||
|
||||
server->server_command = g_strdup(LIBGTOP_SERVER);
|
||||
} else {
|
||||
|
||||
glibtop_error_r (server, "Unknown server method '%s'",
|
||||
|
Reference in New Issue
Block a user