summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-07-28 11:18:29 +0100
committerGitHub <noreply@github.com>2016-07-28 11:18:29 +0100
commit4c86d798010b73c76c916e601ff48c24ffb65dd6 (patch)
tree6bcc6819e6bd25c6ecd18140d7ca19580e7252c9
parentdef5f30e83bf644077a11b237cf7b0250de6b7ed (diff)
parent1e9200bd055a0c15836adf0c6c75a8c20ad77887 (diff)
downloadchef-zero-4c86d798010b73c76c916e601ff48c24ffb65dd6.tar.gz
Merge pull request #228 from AntonOfTheWoods/syntax_fix
Correct ruby syntax error to make script usable
-rwxr-xr-xbin/chef-zero4
1 files 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