Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sulley/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,9 @@ def restart_target(self, target, stop_first=True):

@type target: session.target
@param target: Target we are restarting

@rtype : bool
@returns: False if restart failed (such that we know it failed). True otherwise.
"""

# vm restarting is the preferred method so try that first.
Expand Down Expand Up @@ -751,6 +754,8 @@ def restart_target(self, target, stop_first=True):
# pass specified target parameters to the PED-RPC server to re-establish connections.
target.pedrpc_connect()

return True

def server_init(self):
"""
Called by fuzz() on first run (not on recursive re-entry) to initialize variables, web interface, etc...
Expand Down