From 7d3053831195a1a700e079ea1373d17a5510866b Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 17 Jun 2015 17:13:44 +0200 Subject: [PATCH] Added missing bracket --- include/tests_filesystems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_filesystems b/include/tests_filesystems index 9b7536e8..e302a3e5 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -270,7 +270,7 @@ # Swap partitions should be mounted with 'sw' or 'swap' logtext "Test: check swap partitions with incorrect mount options" #FIND=`awk '{ if ($3=="swap" && ($4!="sw" && $4!="swap" && $4!="defaults")) print $1 }' /etc/fstab` - FIND=`awk '{ if ($3=="swap" && ($4~/sw/ || $4=="defaults") { print $1 }}' /etc/fstab` + FIND=`awk '{ if ($3=="swap" && ($4~/sw/ || $4=="defaults")) { print $1 }}' /etc/fstab` if [ ! "${FIND}" = "" ]; then Display --indent 2 --text "- Testing swap partitions" --result OK --color GREEN logtext "Result: all swap partitions have correct options (sw or swap)"