Skip to content

Commit 1dd72a2

Browse files
committed
Tidy up output
1 parent 7bae6ee commit 1dd72a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

circa.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ void call_cli(char *cmd, void (*extract_data)(response_t *, void *),
314314
FILE *fp;
315315

316316
if ((fp = popen(cmd, "r")) == NULL) {
317-
fprintf(stderr, "Error opening pipe!\n");
317+
fprintf(stderr, "Error running CLI command\n");
318318
return;
319319
}
320320

@@ -328,8 +328,6 @@ void call_cli(char *cmd, void (*extract_data)(response_t *, void *),
328328
return;
329329
}
330330

331-
printf("OUTPUT: %s", response.text);
332-
333331
extract_data(&response, data);
334332

335333
free(response.text);

0 commit comments

Comments
 (0)