From ddab0f331162281c1fa0f4c03ce6509061b417d0 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 16 Jan 2003 14:54:33 +0000 Subject: [PATCH] Does a status check before anything else. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@348 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmpkg.pl.z | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/zmpkg.pl.z b/scripts/zmpkg.pl.z index 947d157d4..cbfb2a3e9 100755 --- a/scripts/zmpkg.pl.z +++ b/scripts/zmpkg.pl.z @@ -116,6 +116,7 @@ if ( $command =~ /^(?:start|restart)$/ ) if ( $status eq "stopped" ) { execute( ZM_PATH_BIN."/zmfix" ); + execute( ZM_PATH_BIN."/zmdc.pl status" ); my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERA, ZM_DB_PASSA );