1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-07-04 19:11:16 +02:00

gems: update rubocop to version 1.24.0

This commit is contained in:
depfu[bot]
2021-12-24 12:20:11 +00:00
committed by Christian Nicolai
parent 6642d9a7a2
commit 367a542f74
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ module Dyndnsd
span.set_attribute('dyndnsd.updater.name', self.class.name&.split('::')&.last || 'None')
# write zone file in bind syntax
File.open(@zone_file, 'w') { |f| f.write(@generator.generate(db)) }
File.write(@zone_file, @generator.generate(db))
# call user-defined command
pid = fork do
exec @command