Single quotes
This commit is contained in:
parent
23f67f2426
commit
b106d14890
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue