summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-09-20 10:08:42 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-09-20 10:08:42 +0200
commitb9e66fb3e52d760d0e84a77838a4c009db9c1bc1 (patch)
tree03934fb38f72afc282527fba0880640d90648993
parent198c0c3c72ec877dfd1788ca35607b0cce06a8fb (diff)
downloadulock-b9e66fb3e52d760d0e84a77838a4c009db9c1bc1.tar
ulock-b9e66fb3e52d760d0e84a77838a4c009db9c1bc1.zip
Fix logout command setting
-rw-r--r--ulock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ulock.c b/ulock.c
index 13529a5..7edfb05 100644
--- a/ulock.c
+++ b/ulock.c
@@ -326,7 +326,7 @@ static void load_config(void) {
logoutTime = g_key_file_get_integer(keyFile, "ulock", "logout_timeout", NULL);
- gchar *logoutCommandConfig = g_key_file_get_string(keyFile, "ulock", "logout_string", NULL);
+ gchar *logoutCommandConfig = g_key_file_get_string(keyFile, "ulock", "logout_command", NULL);
if (logoutCommandConfig)
logoutCommand = strdup(logoutCommandConfig);
@@ -335,7 +335,6 @@ static void load_config(void) {
int main(int argc, char *argv[]) {
get_username();
- logoutCommand = strdup("echo foo");
setlocale(LC_ALL, "");
bindtextdomain("ulock", PREFIX "/share/locale");