瀏覽代碼

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"