blob: 6609acef2bce427646c536f68a179884b1d6d5a0 (
plain) (
tree)
|
|
--- src/pk-lsof.c.orig 2010-01-09 15:57:54.000000000 -0500
+++ src/pk-lsof.c 2010-01-09 15:58:15.000000000 -0500
@@ -153,7 +153,7 @@ pk_lsof_refresh (PkLsof *lsof)
g_return_val_if_fail (PK_IS_LSOF (lsof), FALSE);
/* run lsof to get all data */
- ret = g_spawn_command_line_sync ("/usr/sbin/lsof -Fpfn", &stdout, &stderr, NULL, &error);
+ ret = g_spawn_command_line_sync ("%%LOCALBASE%%/sbin/lsof -Fpfn", &stdout, &stderr, NULL, &error);
if (!ret) {
egg_warning ("failed to get pids: %s", error->message);
g_error_free (error);
|