mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 02:11: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){
|
switch(sig){
|
||||||
case SIGHUP:
|
case SIGHUP:
|
||||||
initialise_configuration();
|
initialise_configuration();
|
||||||
|
if(read_key(&cfg)) fatal(ERR_READING_KEY);
|
||||||
kill_children(SIGHUP);
|
kill_children(SIGHUP);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user