error exit, restore write fix

This commit is contained in:
vanhauser-thc 2022-02-03 10:32:20 +01:00
parent dc871da59a
commit 9cf065f06e

View file

@ -4390,6 +4390,7 @@ int main(int argc, char *argv[]) {
strncat(json_error, tmp_str, STRMAX);
strncat(json_error, "\"", STRMAX);
error = 1;
hydra_restore_write(1);
}
// yeah we did it
printf("%s (%s) finished at %s\n", PROGRAM, RESOURCE, hydra_build_time());