add the # of seconds before kill to the log line

This commit is contained in:
Isaac Connor 2018-04-23 11:16:24 -04:00
parent 235fc640be
commit f752b3077a
1 changed files with 4 additions and 3 deletions

View File

@ -530,7 +530,8 @@ sub kill_until_dead {
if ( $count++ > 10 ) {
dPrint(ZoneMinder::Logger::WARNING, "'$$process{command}' has not stopped at "
.strftime('%y/%m/%d %H:%M:%S', localtime())
.". Sending KILL to pid $$process{pid}\n"
.' after ' . ( KILL_DELAY * $count ) . ' seconds.'
." Sending KILL to pid $$process{pid}\n"
);
kill( 'KILL', $$process{pid} );
last;