Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2020-03-20 23:26:51 +0300
committerTopi Miettinen <toiwoton@gmail.com>2020-03-20 23:26:51 +0300
commite98fcb9b73f7f1054e07d920de9b5ac19e30a8a3 (patch)
tree795ea38ae13db101607a5995d3fb71657acb99a3 /include/tests_kernel
parent6356b3adb180d05f71514ea91455d513586ae71e (diff)
Fix developer profile
Initialialize a few variables to let --profile developer.prf pass. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'include/tests_kernel')
-rw-r--r--include/tests_kernel1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tests_kernel b/include/tests_kernel
index a308e645..4948e0dd 100644
--- a/include/tests_kernel
+++ b/include/tests_kernel
@@ -669,6 +669,7 @@
LogText "Result: found ${FOUND_VMLINUZ}"
fi
+ VERSION_ON_DISK=""
if [ -L "${FOUND_VMLINUZ}" ]; then
LogText "Result: found a symlink, retrieving destination"
FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}")