fixed run_command behaviour for emtpy command output (uninitialized)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:18:14 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
slstatus.c
→
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);