This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
slstatus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fixed run_command behaviour for emtpy command output (uninitialized)
master
Aaron Marcher
8 years ago
committed by
Aaron Marcher (drkhsh)
parent
3bfa5fe60d
commit
98f3985d3e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
slstatus.c
+ 1
- 1
slstatus.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save