diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 44519d0d31..3b4e30213e 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -1150,7 +1150,7 @@ module FileUtils def touch(list, options = {}) fu_check_options options, OPT_TABLE['touch'] list = fu_list(list) - created = nocreate = options[:nocreate] + nocreate = options[:nocreate] t = options[:mtime] if options[:verbose] fu_output_message "touch #{nocreate ? '-c ' : ''}#{t ? t.strftime('-t %Y%m%d%H%M.%S ') : ''}#{list.join ' '}"