From b106d148905d9b9d88886bde837f9d8a09b5e847 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Nov 2016 15:46:04 +0000 Subject: [PATCH] Single quotes --- tests/check-ctrl-alt-del.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check-ctrl-alt-del.sh b/tests/check-ctrl-alt-del.sh index e6e06a51..da58a57a 100644 --- a/tests/check-ctrl-alt-del.sh +++ b/tests/check-ctrl-alt-del.sh @@ -2,7 +2,7 @@ if [ -f /etc/systemd/system/ctrl-alt-del.target ];then ctrl_alt_del=$(ls -l /etc/systemd/system/ctrl-alt-del.target) - if [[ "$ctrl_alt_del" != *"/dev/null" ]]; then + if [[ "$ctrl_alt_del" != *'/dev/null' ]]; then exit 1 fi else