mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
fixed an encryption bug due to not rereading the key after clearing the cfg structure
This commit is contained in:
parent
653b5e8c18
commit
9b6c70488a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user