浏览代码

fixed run_command behaviour for emtpy command output (uninitialized)

master
Aaron Marcher 8 年前
committed by Aaron Marcher (drkhsh)
父节点
当前提交
98f3985d3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      slstatus.c

+ 1
- 1
slstatus.c 查看文件

@@ -397,7 +397,7 @@ run_command(const char* command)
{
int good;
FILE *fp = popen(command, "r");
char buffer[64];
char buffer[64] = "";

if (fp == NULL) {
warn("Could not get command output for: %s", command);


正在加载...
取消
保存