summaryrefslogtreecommitdiff
path: root/torrus
diff options
context:
space:
mode:
authorivan <ivan>2011-06-11 00:44:48 +0000
committerivan <ivan>2011-06-11 00:44:48 +0000
commitb0ce0d814c0cba61dac7051821c8146d06d8a350 (patch)
tree968a191f3e8efc58fad855f13264433a6b70477e /torrus
parentda0c8ddeee43e29a6d4c64a7bc9237de6c83406b (diff)
servderive commit fix
Diffstat (limited to 'torrus')
-rw-r--r--torrus/FREESIDE_MODIFIED23
-rw-r--r--torrus/bin/srvderive.in4
2 files changed, 15 insertions, 12 deletions
diff --git a/torrus/FREESIDE_MODIFIED b/torrus/FREESIDE_MODIFIED
index 01ad394..c164a26 100644
--- a/torrus/FREESIDE_MODIFIED
+++ b/torrus/FREESIDE_MODIFIED
@@ -1,13 +1,14 @@
-configs/torrus-siteconfig.pl #turn of torrus auth, set URLs
-perllib/Torrus/CGI.pm # header/footer
-perllib/Torrus/Freeside.pm # header/footer
-perllib/Torrus/Renderer.pm # header/footer
- perllib/Torrus/Renderer/Freeside.pm # header/footer
-perllib/Torrus/Renderer/Frontpage.pm # header/footer
-perllib/Torrus/Renderer/HTML.pm # header/footer, add interface popups
+configs/torrus-siteconfig.pl # turn of torrus auth, set URLs
+perllib/Torrus/CGI.pm # header/footer
+perllib/Torrus/Freeside.pm # header/footer
+perllib/Torrus/Renderer.pm # header/footer
+ perllib/Torrus/Renderer/Freeside.pm # header/footer
+perllib/Torrus/Renderer/Frontpage.pm # header/footer
+perllib/Torrus/Renderer/HTML.pm # header/footer, add interface popups
perllib/Torrus/ReportOutput/Freeside.pm # header/footer
perllib/Torrus/ReportOutput/HTML.pm # header/footer
-templates/html-incblocks.txt # header/footer
-tempaltes/default-rrd.html # title beautification
-tempaltes/default-dir.html # add interface popups
-sup/webplain/torrus.css #skinning
+templates/html-incblocks.txt # header/footer
+tempaltes/default-rrd.html # title beautification
+tempaltes/default-dir.html # add interface popups
+sup/webplain/torrus.css # skinning
+bin/srvderive.in # --end and commit bugfixes
diff --git a/torrus/bin/srvderive.in b/torrus/bin/srvderive.in
index 6623f1d..f41a721 100644
--- a/torrus/bin/srvderive.in
+++ b/torrus/bin/srvderive.in
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-# $Id: srvderive.in,v 1.2 2011-06-11 00:20:14 ivan Exp $
+# $Id: srvderive.in,v 1.3 2011-06-11 00:44:48 ivan Exp $
# Stanislav Sinyagin <ssinyagin@yahoo.com>
# Combine SUM or MAX from several service IDs and create a new one
@@ -328,6 +328,8 @@ for( my $pos = 0; $pos < $n_points; $pos++ )
}
}
+$dbh->commit or Error($dbh->errstr);
+
Verbose('Database update finished');
exit($ok ? 0:1);