Also cleanup when Lynis process is terminated

This commit is contained in:
Michael Boelen 2019-11-18 08:00:03 +01:00
parent 6d594b899f
commit cb52e9bfbe
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

2
lynis
View File

@ -248,7 +248,7 @@
# #
################################################################################# #################################################################################
# #
trap CleanUp INT trap CleanUp INT TERM
# Use safe umask for the files we create # Use safe umask for the files we create
umask 027 umask 027