blob: a2ade3a7c23db7e07c671dde7f2fd81f76fb7bbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "control/gkd-control.h"
#include "egg/egg-secure-memory.h"
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>
EGG_SECURE_DEFINE_GLIB_GLOBALS ();
int
main (int argc, char *argv[])
{
const char *directory;
directory = g_getenv ("GNOME_KEYRING_CONTROL");
g_return_val_if_fail (directory, 1);
if (!gkd_control_quit (directory, 0))
return 1;
g_printerr ("success quitting daemon\n");
return 0;
}
|