[freeside-commits] freeside/FS/bin freeside-torrus-srvderive, 1.3, 1.4
Ivan,,,
ivan at wavetail.420.am
Sat Feb 26 19:14:17 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv1037/FS/bin
Modified Files:
freeside-torrus-srvderive
Log Message:
add start of torrus srvderive daemon, RT#10574
Index: freeside-torrus-srvderive
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-torrus-srvderive,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- freeside-torrus-srvderive 27 Feb 2011 02:57:16 -0000 1.3
+++ freeside-torrus-srvderive 27 Feb 2011 03:14:15 -0000 1.4
@@ -7,7 +7,7 @@
use FS::Record qw( qsearch str2time_sql str2time_sql_closing concat_sql );
use FS::torrus_srvderive;
-our $DEBUG = 1;
+our $DEBUG = 2;
my $user = shift or die &usage;
$FS::Daemon::PID_NEWSTYLE = 1;
@@ -57,6 +57,7 @@
my $serviceid = $torrus_srvderive->serviceid;
+ warn $sql if $DEBUG > 1;
my $sth = dbh->prepare($sql) or die $DBI::errstr; #better recovery?
$sth->execute($serviceid, $serviceid) or die $sth->errstr;
my $prev = 0;
More information about the freeside-commits
mailing list