Run server_command instead of hardcoded LIBGTOP_SERVER.

This commit is contained in:
Benoit Dejean
2015-02-28 04:08:18 +01:00
committed by Robert Roth
parent c7f7e5a1c6
commit f04ce61b80
2 changed files with 4 additions and 4 deletions

View File

@@ -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'",