Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
mdadm.14070
0195-mdcheck-improve-cleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0195-mdcheck-improve-cleanup.patch of Package mdadm.14070
From f258a5e3911c4d8074c4f9578cccebf2a638a6e4 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Fri, 6 Oct 2017 12:34:40 +1100 Subject: [PATCH] mdcheck: improve cleanup Git-commit: f258a5e3911c4d8074c4f9578cccebf2a638a6e4 Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 We should remove the tmp file on signals as well as on exit. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- misc/mdcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/mdcheck b/misc/mdcheck index 589d038..42d4094 100644 --- a/misc/mdcheck +++ b/misc/mdcheck @@ -66,7 +66,7 @@ shift # We need a temp file occasionally... tmp=/var/lib/mdcheck/.md-check-$$ -trap 'rm -f "$tmp"' 0 +trap 'rm -f "$tmp"' 0 2 3 15 # firstly, clean out really old state files -- 2.13.6
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