From b5c52091624c3e9901dc75d796a09bfe5397bcdc Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 24 Feb 2016 21:54:21 +0000 Subject: [PATCH] Fix redirecting stderr on unix-like OSes - fixes #363 --- redirect_stderr.go | 2 +- redirect_stderr_unix.go | 2 +- redirect_stderr_windows.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redirect_stderr.go b/redirect_stderr.go index eab4b39ca..6dbeb6014 100644 --- a/redirect_stderr.go +++ b/redirect_stderr.go @@ -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 diff --git a/redirect_stderr_unix.go b/redirect_stderr_unix.go index 5827f2b5f..03c74cdd9 100644 --- a/redirect_stderr_unix.go +++ b/redirect_stderr_unix.go @@ -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 diff --git a/redirect_stderr_windows.go b/redirect_stderr_windows.go index 6b03ba00d..03e05f3c1 100644 --- a/redirect_stderr_windows.go +++ b/redirect_stderr_windows.go @@ -4,7 +4,7 @@ // // http://play.golang.org/p/kLtct7lSUg -//+build windows +// +build windows package main