Code: Select all
$ sudo /usr/bin/zmdc.pl
syntax error at /usr/bin/zmdc.pl line 564, near ") )
"
syntax error at /usr/bin/zmdc.pl line 567, near "} ="
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 567.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 568.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 568.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 569.
syntax error at /usr/bin/zmdc.pl line 571, near "else"
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 573.
syntax error at /usr/bin/zmdc.pl line 573, near "} ="
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 573.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 574.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 574.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 574.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 575.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 577.
Global symbol "$process" requires explicit package name at /usr/bin/zmdc.pl line 579.
syntax error at /usr/bin/zmdc.pl line 581, near "}"
/usr/bin/zmdc.pl has too many errors.
Code: Select all
--- zmdc.pl 2008-10-12 16:53:33.000000000 -0700
+++ zmdc.pl 2008-10-12 16:53:53.000000000 -0700
@@ -560,7 +560,7 @@
if ( $process->{keepalive} )
{
- if ( !$process->{delay} || ($process->{runtime} > ZM_MAX_RESTART_DELAY)) )
+ if ( !$process->{delay} || ($process->{runtime} > ZM_MAX_RESTART_DELAY))
{
#start( $process->{daemon}, @{$process->{args}} );
# Schedule for immediate restart