Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void
- to_be_or_not_to_be (void)
- {
- /*
- * If all of the options that control our policy are disabled, then we
- * have no point in living. Save the user some memory and exit.
- */
- /* you used to say live and let live... */
- size_t i;
- /* ...but in this ever changing world in which we live in... */
- for (i = 0; i < G_N_ELEMENTS (gvm_settings); i++)
- if (gvm_settings[i].type == TYPE_BOOL && *(int *) gvm_settings[i].var)
- return;
- dbg ("daemon exit: live and let die\n");
- exit (EXIT_SUCCESS);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement