diff options
Diffstat (limited to 'usrbin/main.c')
| -rw-r--r-- | usrbin/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usrbin/main.c b/usrbin/main.c index a545a11..3b6dd97 100644 --- a/usrbin/main.c +++ b/usrbin/main.c @@ -27,6 +27,10 @@ void pid1(void) { kill(getpid(), SIGKILL); } } + if(in == 0) { + printf("EOF detected!\n"); + panic(); + } if(in > 0) puts(buf); } |
