]> gitweb.fluxo.info Git - hydra.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 14 Feb 2011 17:01:42 +0000 (15:01 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 14 Feb 2011 17:01:42 +0000 (15:01 -0200)
share/hydractl/puppet-trigger

index a2813be95c0e6486921b6ed0accb6fb240a4a259..cb399d12f96bd9d3b1c61467bd5616ec2660a331 100755 (executable)
@@ -2,6 +2,6 @@
 
 if [ -e '/var/run/puppet/agent.pid' ]; then
   kill -USR1 `cat /var/run/puppet/agent.pid`
-if [ -e '/var/run/puppet/puppetd.pid' ]; then
+elif [ -e '/var/run/puppet/puppetd.pid' ]; then
   kill -USR1 `cat /var/run/puppet/puppetd.pid`
 fi