mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +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