Changeset 2800
- Timestamp:
- Dec 23, 2004, 7:35:29 AM (22 years ago)
- Location:
- trunk/Ohana/src/opihi/lib.shell
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/opihi.c
r2598 r2800 18 18 19 19 line = readline (prompt); 20 if (line == NULL) { 20 if (line == NULL) { 21 if (!isatty (STDIN_FILENO)) exit (2); 21 22 fprintf (stdout, "Use \"quit\" to exit\n"); 22 23 Nbad ++; -
trunk/Ohana/src/opihi/lib.shell/startup.c
r2598 r2800 144 144 if (ONLY_INPUT) exit (2); 145 145 if (is_script) exit (2); 146 if (!isatty (STDIN_FILENO)) exit (2);147 if (!isatty (STDOUT_FILENO)) exit (2);148 146 } 149 147 }
Note:
See TracChangeset
for help on using the changeset viewer.
