浏览代码

Drop unnecessary "x" comparison hack

Those used to be needed wayyyy back with some broken shells.
Alois Mahdal 1 个月前
父节点
当前提交
3951b22a46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      dotfiles/config/i3/bin/i3staplus

+ 1
- 1
dotfiles/config/i3/bin/i3staplus 查看文件

@@ -142,7 +142,7 @@ m_sprintn() {
142 142
         "$sprintn" "$color"
143 143
 }
144 144
 
145
-if test "x$I3STAPLUS__LOG" = "xtrue"; then
145
+if test "$I3STAPLUS__LOG" = "true"; then
146 146
     mkdir -p "$I3STAPLUS__LOGDIR"
147 147
     log_pre() {
148 148
         tee "$I3STAPLUS__LOGDIR/debug-pre.json"