mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
error exit, restore write fix
This commit is contained in:
parent
dc871da59a
commit
9cf065f06e
1 changed files with 1 additions and 0 deletions
1
hydra.c
1
hydra.c
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue