diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-19 17:23:16 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-19 17:23:16 +0000 |
| commit | 538bc0cd5bb0a241848595089037a36055d49716 (patch) | |
| tree | c10caedf24e0474b6ec103636bd77ac3f2cd8337 /lib | |
| parent | 6f660118b9c05e2413a9fa29574591c582f9458c (diff) | |
| download | puppet-538bc0cd5bb0a241848595089037a36055d49716.tar.gz puppet-538bc0cd5bb0a241848595089037a36055d49716.tar.xz puppet-538bc0cd5bb0a241848595089037a36055d49716.zip | |
Fixing service stopping; I had the %x{} command quoted
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1119 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/type/service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/service.rb b/lib/puppet/type/service.rb index db248ed89..09bd4f659 100644 --- a/lib/puppet/type/service.rb +++ b/lib/puppet/type/service.rb @@ -487,7 +487,7 @@ module Puppet self.info "%s is not running" % self.name return false end - output = %x("kill #{pid} 2>&1") + output = %x(kill #{pid} 2>&1) if $? != 0 self.fail "Could not kill %s, PID %s: %s" % [self.name, pid, output] |
