Skip to content

Commit

Permalink
Fat finger on the copy and paste =/
Browse files Browse the repository at this point in the history
  • Loading branch information
lusis committed Jun 1, 2011
1 parent 105e751 commit e9e87b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/haproxy_join 100755 → 100644
Expand Up @@ -85,7 +85,7 @@ def main
begin begin
File.copy(main_config, main_config + ".BAK-" + Time.now.strftime("%Y%m%d%H%M%S")) File.copy(main_config, main_config + ".BAK-" + Time.now.strftime("%Y%m%d%H%M%S"))
rescue NoMethodError rescue NoMethodError
File.copy(main_config, main_config + ".BAK-" + Time.now.strftime("%Y%m%d%H%M%S")) FileUtils.cp(main_config, main_config + ".BAK-" + Time.now.strftime("%Y%m%d%H%M%S"))
end end
end end


Expand Down

0 comments on commit e9e87b8

Please sign in to comment.