Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: explicitly compare isatty() result
Reportedly, automatic conversion of the `isatty()` int result value to a bool does not work correctly on PPC. Explicitly compare the result value with `1` to infer the boolean result value. Fixes: #165 Signed-off-by: Jo-Philipp Wich <[email protected]>
- Loading branch information