mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 13:01:00 -07:00
hydra return code fix
This commit is contained in:
parent
89f998592f
commit
445e5026ef
2 changed files with 2 additions and 1 deletions
1
CHANGES
1
CHANGES
|
@ -3,6 +3,7 @@ Changelog for hydra
|
||||||
|
|
||||||
|
|
||||||
Release 8.7-dev
|
Release 8.7-dev
|
||||||
|
* corrected hydra return code to be 0 on success
|
||||||
* added patch from debian maintainers which fixes spellings
|
* added patch from debian maintainers which fixes spellings
|
||||||
* fixed weird crash on x64 systems
|
* fixed weird crash on x64 systems
|
||||||
* many warning fixes by crondaemon
|
* many warning fixes by crondaemon
|
||||||
|
|
2
hydra.c
2
hydra.c
|
@ -4100,7 +4100,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fflush(NULL);
|
fflush(NULL);
|
||||||
if (error || j || exit_condition < 0)
|
if (error || j != 0 || exit_condition < 0)
|
||||||
return -1;
|
return -1;
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue