From 22a7f4fd6d73ff8768377c4bf8e302196facbf3c Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 26 Aug 2019 08:01:43 +0200 Subject: [PATCH] Combine multiple unsets into a single command --- include/tests_authentication | 2 +- include/tests_php | 2 +- include/tests_webservers | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/tests_authentication b/include/tests_authentication index 733dfc4f..05f107ae 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -696,7 +696,7 @@ else Display --indent 2 --text "- PAM modules" --result "${STATUS_FOUND}" --color GREEN fi - unset DIR; unset FILE; unset FIND + unset DIR FILE FIND fi # ################################################################################# diff --git a/include/tests_php b/include/tests_php index ef43f282..23ece909 100644 --- a/include/tests_php +++ b/include/tests_php @@ -147,7 +147,7 @@ Display --indent 2 --text "- Checking PHP" --result "${STATUS_NOT_FOUND}" --color WHITE LogText "Result: no php.ini file found" fi - unset DIR; unset FILE; unset FIND + unset DIR FILE FIND fi # ################################################################################# diff --git a/include/tests_webservers b/include/tests_webservers index be78fb11..1e893f26 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -600,7 +600,7 @@ LogText "Result: directory ${DIR} not found, skipping search in this directory." fi done - unset DIR; unset FILE; unset FIND + unset DIR FILE FIND fi # #################################################################################