diff options
Diffstat (limited to 'lib/puppet/client.rb')
-rw-r--r-- | lib/puppet/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/client.rb b/lib/puppet/client.rb index e4dd00801..d96bc158d 100644 --- a/lib/puppet/client.rb +++ b/lib/puppet/client.rb @@ -141,9 +141,9 @@ module Puppet Puppet::Storage.init Puppet::Storage.load rescue => detail - Puppet.err "Corrupt state file %s" % Puppet[:statefile] + Puppet.err "Corrupt state file %s" % Puppet[:checksumfile] begin - File.unlink(Puppet[:statefile]) + File.unlink(Puppet[:checksumfile]) retry rescue => detail raise Puppet::Error.new("Cannot remove %s: %s" % |