Merge pull request #937 from ZoneMinder/better_logging

improve log
This commit is contained in:
Andrew Bauer 2015-07-15 15:21:08 -05:00
commit 4e5ca2cead
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ if ( !$server_up )
while (!connect( CLIENT, $saddr )) while (!connect( CLIENT, $saddr ))
{ {
$attempts++; $attempts++;
Fatal( "Can't connect: $!" ) if ($attempts > MAX_CONNECT_DELAY); Fatal( "Can't connect: $! after $attempts attempts to $sock_file" ) if ($attempts > MAX_CONNECT_DELAY);
sleep(1); sleep(1);
} }
} }