Single quotes

This commit is contained in:
Bob Mottram 2016-11-30 15:46:04 +00:00
parent 23f67f2426
commit b106d14890
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
if [ -f /etc/systemd/system/ctrl-alt-del.target ];then if [ -f /etc/systemd/system/ctrl-alt-del.target ];then
ctrl_alt_del=$(ls -l /etc/systemd/system/ctrl-alt-del.target) 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 exit 1
fi fi
else else