blob: 81030d64b99052123c521fcaa1cb09388b9d047e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "spsh.h"
/* Entry function */
int main(void) {
/* Show the banner with the warning */
if (banner() < 0) {
fputs("Couldn't write welcome banner to stdout!", stderr);
exit(EXIT_FAILURE);
}
/* Start looping through commands */
loop();
/* If we get to this point, things should be good */
exit(EXIT_SUCCESS);
}
|