summaryrefslogtreecommitdiff
path: root/xfce4-session
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-10-08 23:38:02 +0200
committerRomain Bouvier <skunnyk@alteroot.org>2020-05-01 11:35:42 +0200
commit0d288f68dc908cbac19fd2f09889b26148d42eaa (patch)
tree710602630e082241275f192783e0ce0b1fab0874 /xfce4-session
parentd474715c43f66d2ffa20b590da9516f394fa7e00 (diff)
downloadxfce4-session-0d288f68dc908cbac19fd2f09889b26148d42eaa.tar.gz
Re-add xfsm_startup_shutdown() call to xfce4-session main()
Commit 91860af3a38080 ("Port xfce4-session/ to GDBus") dropped a call to xfsm_startup_shutdown() function from xfce4-session main(). This function is responsible for shutting down SSH and / or GPG agents that xfce4-session has started so if it isn't called at shutdown time these agents will remain running even after the session has ended.
Diffstat (limited to 'xfce4-session')
-rw-r--r--xfce4-session/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfce4-session/main.c b/xfce4-session/main.c
index e3d0a778..4881c62b 100644
--- a/xfce4-session/main.c
+++ b/xfce4-session/main.c
@@ -366,5 +366,7 @@ main (int argc, char **argv)
gtk_main ();
+ xfsm_startup_shutdown ();
+
return EXIT_SUCCESS;
}