diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,10 @@ int main(void) { /* Show the banner with the warning */ - banner(); + if (banner() < 0) { + fputs("Couldn't write welcome banner to stdout!", stderr); + exit(EXIT_FAILURE); + } /* Start looping through commands */ loop(); |