It turns out this is basically racy with the presence of other
threads. It was really cosmetic so let's stop doing it and make
`-fsanitize=thread` happy.
Closes: #582
Approved by: jlebon
GError *error = NULL;
GCancellable *cancellable = NULL;
const char *command_name = NULL;
- g_autofree char *prgname = NULL;
gboolean success = FALSE;
int in, out;
goto out;
}
- prgname = g_strdup_printf ("%s %s", g_get_prgname (), command_name);
- g_set_prgname (prgname);
-
-
if (!command->fn (argc, argv, cancellable, &error))
goto out;