From 8ff68797ac967d4f7ee8f9eb914b89fc6494144a Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 14 Jan 2003 11:54:32 +0000 Subject: [PATCH] Made sure handled check parameter. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@312 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmpkg.pl.z | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmpkg.pl.z b/scripts/zmpkg.pl.z index 25c12a01f..01a0d525a 100755 --- a/scripts/zmpkg.pl.z +++ b/scripts/zmpkg.pl.z @@ -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 \n" ); exit( -1 );