Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
Save the signal that ends keyloog for later use
Browse files Browse the repository at this point in the history
  • Loading branch information
causal-agent committed Jul 11, 2011
1 parent 67a2f8d commit e1444b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keyloog.c
Expand Up @@ -48,9 +48,11 @@ void daemonize(const char *option_pidfile)

// Signal handlers
bool end = false;
int end_signal;

void signal_quit(int s)
{
end_signal = s;
end = true;
}

Expand Down

0 comments on commit e1444b1

Please sign in to comment.