From 977f4b3dd0b54ab7ba2be143f71318e64f6b53d2 Mon Sep 17 00:00:00 2001 From: John T Skarbek Date: Wed, 27 Jan 2016 22:55:59 -0500 Subject: [PATCH] Because when you type `sl` you technically failed * Configures the exit code to reflect your failure * brings in the use of EXIT_FAILURE for portability --- sl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sl.c b/sl.c index d8f2d750..1da750f3 100644 --- a/sl.c +++ b/sl.c @@ -38,6 +38,7 @@ #include #include +#include #include #include "sl.h" @@ -111,6 +112,7 @@ int main(int argc, char *argv[]) } mvcur(0, COLS - 1, LINES - 1, 0); endwin(); + return(EXIT_FAILURE); }