Add option to discard command output

This commit is contained in:
2024-06-17 00:14:34 +01:00
parent 92c2439b56
commit 802b70f5ee
2 changed files with 3 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ internal inline CMDError get_command_output(FILE *fp,
}
strcat(out_buf, out);
} else {
} else if (out_handling == SHELL_OUTPUT_PRINT) {
printf("%s", out);
}
}