mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
syscalls: make isatty act like posix expects
This commit is contained in:
@@ -24,7 +24,7 @@ syscallret syscall_isatty(int ifd){
|
||||
ret = vfs_isatty(fd->node);
|
||||
|
||||
retv.errno = ret;
|
||||
// don't care about return value
|
||||
retv.ret = ret ? 1 : 0;
|
||||
|
||||
fd_release(fd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user