Changeset 1634

Show
Ignore:
Timestamp:
06/24/08 14:08:41 (2 months ago)
Author:
kindlund
Message:

Fixed stand-alone support, when running with 1 VM.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Manager.pm

    r1579 r1634  
    889889                for (my $counter = 0; $counter < getVar(name => "num_simultaneous_clones"); $counter++) { 
    890890                    my $thread = $THREAD_POOL[$counter]; 
    891                     if (!$thread->is_running()) { 
     891                    if (defined($thread) && !$thread->is_running()) { 
    892892                        $LOG->error("Thread ID (" . $thread->tid() . "): Unexpectedly terminated."); 
    893893                        Carp::croak "Thread ID (" . $thread->tid() . "): Unexpectedly terminated.";