Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:osw3:pi
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 70b9f95b1dd7574ea5b46b84e70707c7ed423a3d 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 10e4b4733..ead35c525 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in +++ b/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in @@ -184,6 +184,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.26.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