소스 검색

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);


불러오는 중...
취소
저장