diff options
author | Giedrius Statkevičius <[email protected]> | 2015-07-19 15:47:32 +0300 |
---|---|---|
committer | Giedrius Statkevičius <[email protected]> | 2015-07-19 15:47:32 +0300 |
commit | 319d4817ec24add9698c3870fdb12f573e42f602 (patch) | |
tree | 87d5a4d5e60a5a7d5bb9feeaa21b63b0ee66fe74 /src/daemon | |
parent | 95a7399a73782de48d4e821c84bd0fc59a590f10 (diff) | |
download | mate-notification-daemon-319d4817ec24add9698c3870fdb12f573e42f602.tar.bz2 mate-notification-daemon-319d4817ec24add9698c3870fdb12f573e42f602.tar.xz |
daemon: exit with 0 on idle
Exit with 0 (EXIT_SUCCESS) on idle due to the fact that some D-Bus
implementations like kdbus are tracking daemons' exit codes and will mark
mate-notification-daemon as if it failed if it exits with 1.
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 821de3e..6bf4af9 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -174,9 +174,7 @@ static void _notify_timeout_destroy(NotifyTimeout* nt) static gboolean do_exit(gpointer user_data) { - //g_debug("Exiting due to inactivity"); - exit(1); - + exit(0); return FALSE; } |