summaryrefslogtreecommitdiffstats
path: root/bin/puppetmasterd
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-26 18:58:07 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-26 18:58:07 +0000
commit9a1a88ce82618de01c368cc9f8e34cb33d5f5ad2 (patch)
tree0f7dede0d629125d45ed95cdc872f2a17d43015e /bin/puppetmasterd
parent3169bfa0eba2d0abf2342a16383243d1ba402fc8 (diff)
downloadpuppet-9a1a88ce82618de01c368cc9f8e34cb33d5f5ad2.tar.gz
puppet-9a1a88ce82618de01c368cc9f8e34cb33d5f5ad2.tar.xz
puppet-9a1a88ce82618de01c368cc9f8e34cb33d5f5ad2.zip
Fixing #574; puppetmasterd now exits with non-zero error code when there is a failure
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2417 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetmasterd')
-rwxr-xr-xbin/puppetmasterd1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd
index 98db576fd..acb9c0159 100755
--- a/bin/puppetmasterd
+++ b/bin/puppetmasterd
@@ -227,6 +227,7 @@ if Puppet[:parseonly]
puts detail.backtrace
end
$stderr.puts detail
+ exit(32)
end
# we would have already exited if the file weren't syntactically correct
exit(0)