From 6cf0b28f2ccd7b4c04f41e985735bbe68ec2a023 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 17 Sep 2019 20:13:14 +0200 Subject: [PATCH] Bugfix: line had double print with incorrect quote --- include/tests_homedirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_homedirs b/include/tests_homedirs index 389afd1a..f4fcb61d 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -89,7 +89,7 @@ if [ ${SKIPTEST} -eq 0 ]; then # Check if users own their home directories FOUND=0 - for LINE in $(${EGREPBINARY} -v '^(daemon|git|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }') { print }'); do + for LINE in $(${EGREPBINARY} -v '^(daemon|git|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }'); do USER=$(echo ${LINE} | ${CUTBINARY} -d: -f1) DIR=$(echo ${LINE} | ${CUTBINARY} -d: -f6) if [ -d ${DIR} ]; then