Show
Ignore:
Timestamp:
02/24/11 13:50:06 (2 years ago)
Author:
p_lindheimer
Message:

exit retrieve_conf right away if it can't get a manager connection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.9/amp_conf/bin/retrieve_conf

    r11528 r11587  
    77  include_once('/etc/asterisk/freepbx.conf'); 
    88} 
     9 
     10if (!$bootstrap_settings['astman_connected']) { 
     11  fatal(sprintf(_("Unable to connect to Asterisk Manager from %s, aborting"),__FILE__)); 
     12} 
     13 
    914$freepbx_conf =& freepbx_conf::create(); 
    1015