Fixed a bug with the synchronous arbiter.

The bug was causing a failure to restart the monitoring process after death.
This commit is contained in:
Matias Barcenas 2017-11-30 22:49:39 -06:00
parent 8edc452564
commit 62022980bc
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function handshake_snooper_arbiter_daemon() {
if [ "$handshake_snooper_arbiter_daemon_state" = "aborted" ]; then break; fi if [ "$handshake_snooper_arbiter_daemon_state" = "aborted" ]; then break; fi
# If synchronously searching, restart the captor and deauthenticator after checking. # If synchronously searching, restart the captor and deauthenticator after checking.
if [ "$HANDSHAKEVerifierSynchronicity" = "blocking" -a $handshake_snooper_arbiter_daemon_verified -ne 0 -a ]; then if [ "$HANDSHAKEVerifierSynchronicity" = "blocking" -a $handshake_snooper_arbiter_daemon_verified -ne 0 ]; then
sandbox_remove_workfile "$FLUXIONWorkspacePath/capture/*" sandbox_remove_workfile "$FLUXIONWorkspacePath/capture/*"
handshake_snooper_start_captor; sleep 5 handshake_snooper_start_captor; sleep 5
handshake_snooper_start_deauthenticator handshake_snooper_start_deauthenticator