Made sure handled check parameter.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@312 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-14 11:54:32 +00:00
parent 41d74025a1
commit 8ff68797ac
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
my $command = $ARGV[0];
if ( !$command || $command !~ /^(?:start|stop|restart)$/ )
if ( !$command || $command !~ /^(?:start|stop|restart|status)$/ )
{
print( "Usage: zmpkg.pl <start|stop|restart>\n" );
exit( -1 );