summaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-trigger
diff options
context:
space:
mode:
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