zmpkg.pl: correction for "Use of uninitialized value $command in string eq at zmpkg.pl line 62"
This commit is contained in:
parent
fa97348535
commit
afb127125d
|
@ -58,7 +58,7 @@ delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
|
|||
|
||||
logInit();
|
||||
|
||||
my $command = $ARGV[0];
|
||||
my $command = $ARGV[0]||'';
|
||||
if ( $command eq 'version' ) {
|
||||
print ZoneMinder::Base::ZM_VERSION . "\n";
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in New Issue