Fix redirecting stderr on unix-like OSes - fixes #363
This commit is contained in:
parent
835b6761b7
commit
b5c5209162
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
// Log the panic to the log file - for oses which can't do this
|
||||
|
||||
//+build !windows,!unix
|
||||
// +build !windows,!darwin,!dragonfly,!freebsd,!linux,!nacl,!netbsd,!openbsd
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Log the panic under unix to the log file
|
||||
|
||||
//+build unix
|
||||
// +build darwin dragonfly freebsd linux nacl netbsd openbsd
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//
|
||||
// http://play.golang.org/p/kLtct7lSUg
|
||||
|
||||
//+build windows
|
||||
// +build windows
|
||||
|
||||
package main
|
||||
|
||||
|
|
Loading…
Reference in a new issue