From 1e9200bd055a0c15836adf0c6c75a8c20ad77887 Mon Sep 17 00:00:00 2001 From: Anton Melser Date: Wed, 27 Jul 2016 11:26:18 +0200 Subject: Correct ruby syntax error to make script usable --- bin/chef-zero | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/chef-zero b/bin/chef-zero index 33fc0e1..bf56117 100755 --- a/bin/chef-zero +++ b/bin/chef-zero @@ -99,8 +99,8 @@ if options[:daemon] Process.daemon(true) server.start(true) else - if ENV['OS'] == 'Windows_NT' - abort 'Daemonization is not supported on Windows. Running 'start chef-zero' will fork the process.' + if ENV['OS'] == 'Windows_NT' + abort 'Daemonization is not supported on Windows. Running "start chef-zero" will fork the process.' else abort 'Process.daemon requires Ruby >= 1.9' end -- cgit v1.2.1