Skip to content

Commit

Permalink
Fixed compilation for Solaris
Browse files Browse the repository at this point in the history
There are missing "io" import and unused variable
Releated issues sirupsen#471 sirupsen#289
  • Loading branch information
Denis Barakhtanov authored and Paddy-Truck committed Sep 8, 2017
1 parent 253650c commit 715ef1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion terminal_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal(f io.Writer) bool {
var termios Termios
switch v := f.(type) {
case *os.File:
_, err := unix.IoctlGetTermios(int(v.Fd()), unix.TCGETA)
Expand Down

0 comments on commit 715ef1e

Please sign in to comment.