aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-trigger
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-14 15:01:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-14 15:01:42 -0200
commitf56f293ac9133a886c44dc685227af5028ae8ac1 (patch)
treed88a83a803e182df055707dcfe3493b447f2c48b /share/hydractl/puppet-trigger
parentf59cf20028d42475987a717d910b739b9de53971 (diff)
downloadhydra-f56f293ac9133a886c44dc685227af5028ae8ac1.tar.gz
hydra-f56f293ac9133a886c44dc685227af5028ae8ac1.tar.bz2
Oops
Diffstat (limited to 'share/hydractl/puppet-trigger')
-rwxr-xr-xshare/hydractl/puppet-trigger2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/puppet-trigger b/share/hydractl/puppet-trigger
index a2813be..cb399d1 100755
--- a/share/hydractl/puppet-trigger
+++ b/share/hydractl/puppet-trigger
@@ -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