allow for cleanup after main_loop instead of exiting
authorPhilip Kovacs <pkovacs@users.sourceforge.net>
Thu, 10 Nov 2005 00:37:22 +0000 (00:37 +0000)
committerPhilip Kovacs <pkovacs@users.sourceforge.net>
Thu, 10 Nov 2005 00:37:22 +0000 (00:37 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@382 7f574dfc-610e-0410-a909-a81674777703

src/conky.c

index 931aab1..f6d6d97 100644 (file)
@@ -4271,7 +4271,7 @@ static void main_loop()
                        {
                        ERR("received SIGINT or SIGTERM to terminate. bye!");
                        clean_up();
-                       exit(0);
+                       return;  /* return from main_loop */
                        /*break;*/
                        }
                default: