blob: 81030d64b99052123c521fcaa1cb09388b9d047e (
plain) (
tree)
|
|
#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);
}
|