mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 12:27:03 +02:00
fixed an encryption bug due to not rereading the key after clearing the cfg structure
This commit is contained in:
@ -75,6 +75,7 @@ static void takesig(int sig){
|
||||
switch(sig){
|
||||
case SIGHUP:
|
||||
initialise_configuration();
|
||||
if(read_key(&cfg)) fatal(ERR_READING_KEY);
|
||||
kill_children(SIGHUP);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user