Skip to content

Commit

Permalink
console: stop bsock timer before leaving scope of function
Browse files Browse the repository at this point in the history
 Fixes #1064: bconsole crashes after 5 minutes in restore operation due to forgotten watchdog
  • Loading branch information
franku committed Oct 25, 2019
1 parent 5f718e1 commit 4c32d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/lib/bsock.cc
Expand Up @@ -351,6 +351,7 @@ bool BareosSocket::ConsoleAuthenticateWithDirector(
dir->StopTimer();
return false;
}
dir->StopTimer();

Dmsg1(6, ">dird: %s", dir->msg);

Expand Down

0 comments on commit 4c32d3c

Please sign in to comment.