Changeset 6144

Show
Ignore:
Timestamp:
07/23/08 15:28:28 (5 years ago)
Author:
p_lindheimer
Message:

#2941 retrieve_conf now reports failures from retrieve_op_conf_from_mysql.pl

Files:

Legend:

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

    r6056 r6144  
    706706// 
    707707$script = $amp_conf['AMPBIN'].'/retrieve_op_conf_from_mysql.pl '.$amportalconf.' '.rtrim($asterisk_conf['astetcdir'],DIRECTORY_SEPARATOR); 
    708 exec($script); 
     708exec($script, $output, $ret); 
     709if ($ret) { 
     710  fatal(sprintf(_("retrieve_op_conf_from_mysql.pl returned with an error code %s"),$ret)); 
     711
    709712 
    710713// generate configuration files