Remove unneeded code from isatty, fix spelling in docs

darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
This commit is contained in:
axel
2007-01-28 00:12:15 +10:00
parent cab5c63402
commit be0bd50bad
2 changed files with 2 additions and 3 deletions

View File

@@ -23,7 +23,6 @@ function isatty -d "Tests if a file descriptor is a tty"
end
end
eval "tty 0>&$fd >/dev/null"; and return 0
eval "tty 0>&$fd >/dev/null"
return 1
end