Guest User

Untitled

a guest
Feb 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. --- caddy.rb_ 2008-01-16 03:29:57.000000000 +0900
  2. +++ caddy.rb 2008-05-30 04:09:00.228600000 +0900
  3. @@ -98,6 +98,8 @@
  4. $diff_style = :diff
  5. when '-da'
  6. $diff_style = :all
  7. + when '-y'
  8. + $submit_confirm = false
  9. when '-u'
  10. user_suffix = ARGV[argn+1]
  11. ARGV.delete_at(argn)
  12. @@ -193,8 +195,8 @@
  13. end
  14.  
  15. res = res.read_body
  16. - if res =~ /Success.*/
  17. - puts $&
  18. + if res =~ /Success[^<]*/
  19. + puts $&.sub!("\n", ' ')
  20. else
  21. puts 'FAILED'
  22. puts
Add Comment
Please, Sign In to add comment