Projects
home:dercol:branches:openSUSE.org:home:Monex:stable
ZoneMinder
ignore_signal_on_config_write.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ignore_signal_on_config_write.patch of Package ZoneMinder
From 6ec9f3233109a733fc448e515cbc7312ec340056 Mon Sep 17 00:00:00 2001 From: Dirk Hartmann <2monex@gmx.net> Date: Thu, 4 Aug 2016 20:39:54 +0200 Subject: [PATCH 3/7] gnore_signal_on_config_write.patch --- scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in b/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in index d48747703..7f38d2c6e 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in +++ b/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in @@ -203,6 +203,8 @@ sub loadConfigFromDB { sub saveConfigToDB { print( 'Saving config to DB ' . @options . " entries\n" ); + local $SIG{INT} = 'IGNORE'; + local $SIG{TERM} = 'IGNORE'; my $dbh = ZoneMinder::Database::zmDbConnect(); if ( !$dbh ) { print( "Error: unable to save options to database: $DBI::errstr\n" ); -- 2.18.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.