aboutsummaryrefslogtreecommitdiff
path: root/src/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index bfce59e..1701523 100644
--- a/src/system.c
+++ b/src/system.c
@@ -154,7 +154,6 @@ char *shell_output(const char *command, int *status) {
result = calloc(initial_size, sizeof(result));
memset(line, 0, sizeof(line));
while (fread(line, sizeof(char), sizeof(line) - 1, pp) != 0) {
- //while (fgets(line, sizeof(line) - 1, pp) != NULL) {
size_t result_len = strlen(result);
size_t need_realloc = (result_len + strlen(line)) > current_size;
if (need_realloc) {