From f2d8a749f448bfbfd69a454c0ce7b14b56143513 Mon Sep 17 00:00:00 2001 From: Serene Han Date: Wed, 20 Jan 2016 15:51:22 -0800 Subject: [PATCH] Also skip creating named pipe if --meek is enabled, and output a more useful waiting message if pipe is expected --- client/snowflake.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/snowflake.go b/client/snowflake.go index 076080d..ad496f9 100644 --- a/client/snowflake.go +++ b/client/snowflake.go @@ -331,7 +331,8 @@ func main() { log.Println("starting") - if offerURL == "" { + if offerURL == "" && !meekEnabled { + log.Println("No HTTP signaling detected. Waiting for a \"signal\" pipe...") // This FIFO receives signaling messages. err = syscall.Mkfifo("signal", 0600) if err != nil {