Changeset 116
- Timestamp:
- 02/26/06 23:03:46 (3 years ago)
- Files:
-
- branches/1.0.4/src/tools/vexec.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.4/src/tools/vexec.c
r115 r116 193 193 if (stat("/dev/console", &st) == -1) { 194 194 vu_printf("Failed to stat /dev/console: %s\n", strerror(errno)); 195 } else if ( !S_ISCHR(st.st_mode)) {195 } else if (S_ISCHR(st.st_mode)) { 196 196 int fd = open("/dev/console", O_RDWR); // O_NOCTTY); 197 197 if (fd < 0) vu_printf("Failed to open /dev/console: %s\n", strerror(errno));
