Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
spins:invis:15:common
ZoneMinder
ignore_signal_on_config_write.patch
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
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor