ソースを参照

Single quotes

Bob Mottram 8 年 前
コミット
b106d14890
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      tests/check-ctrl-alt-del.sh

+ 1
- 1
tests/check-ctrl-alt-del.sh ファイルの表示

2
 
2
 
3
 if [ -f /etc/systemd/system/ctrl-alt-del.target ];then
3
 if [ -f /etc/systemd/system/ctrl-alt-del.target ];then
4
     ctrl_alt_del=$(ls -l /etc/systemd/system/ctrl-alt-del.target)
4
     ctrl_alt_del=$(ls -l /etc/systemd/system/ctrl-alt-del.target)
5
-    if [[ "$ctrl_alt_del" !=  *"/dev/null" ]]; then
5
+    if [[ "$ctrl_alt_del" !=  *'/dev/null' ]]; then
6
         exit 1
6
         exit 1
7
     fi
7
     fi
8
 else
8
 else