diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-06-18 18:13:23 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-06-18 18:13:23 +0000 |
| commit | f05464e9760fda340b1cc2fc5d46f0fb09b83821 (patch) | |
| tree | 90e23773182ac1cd3969a987e6369399c8aa0378 | |
| parent | 30ebbc90d396fa929fa1072dfd157e380c4668b5 (diff) | |
| download | puppet-f05464e9760fda340b1cc2fc5d46f0fb09b83821.tar.gz puppet-f05464e9760fda340b1cc2fc5d46f0fb09b83821.tar.xz puppet-f05464e9760fda340b1cc2fc5d46f0fb09b83821.zip | |
Adding the output_file.close, as wyvern recommended
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2605 980ebf18-57e1-0310-9a29-db15c13687c0
| -rw-r--r-- | lib/puppet/util.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb index 51e4c6397..fab1a493d 100644 --- a/lib/puppet/util.rb +++ b/lib/puppet/util.rb @@ -339,6 +339,7 @@ module Util # read output in if required if ! arguments[:squelch] output = output_file.open.read + output_file.close output_file.delete end |
