8
8
gboolean gsm_pkexec_create_root_password_dialog(const char *command)
10
11
gint *exit_status = NULL;
12
if (!g_spawn_command_line_sync( g_strdup_printf("pkexec %s/gsm-%s", GSM_LIBEXEC_DIR, command), NULL, NULL, exit_status, &error)) {
15
if (!g_spawn_command_line_sync(command_line, NULL, NULL, exit_status, &error)) {
13
16
g_critical("Could not run pkexec(\"%s\") : %s\n",
14
17
command, error->message);