Revision 809fa79a

View differences:

src/cli/one_helper/onevm_helper.rb
28 28

  
29 29
require 'one_helper'
30 30
require 'optparse/time'
31
require 'one_tm'
32 31

  
33 32
class String
34 33
    def red
......
340 339
    }
341 340

  
342 341
    def recover_retry_interactive(vm)
342
        begin
343
            require 'one_tm'
344
        rescue LoadError
345
            STDERR.puts <<-EOT
346
one_tm library not found. Make sure you execute recover --interactive
347
in the frontend machine.
348
            EOT
349
            exit(-1)
350
        end
351

  
343 352
        # Disable CTRL-C in the menu
344 353
        trap("SIGINT") { }
345 354

  

Also available in: Unified diff