Browse Source

fixed run_command()

master
Aaron Marcher 9 years ago
committed by Aaron Marcher (drkhsh)
parent
commit
887b9bd3e3
  1. 2
      slstatus.c

2
slstatus.c

@ -407,7 +407,7 @@ static char *
run_command(const char* command) run_command(const char* command)
{ {
FILE *fp = popen(command, "r"); FILE *fp = popen(command, "r");
char buffer[64] = '\0'; char buffer[64] = "\0";
if (fp == NULL) { if (fp == NULL) {
warn("Could not get command output for: %s", command); warn("Could not get command output for: %s", command);

Loading…
Cancel
Save