Commit 89b168e9 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Remove isadmin check from export_tables, and back out Mac's last

change.
parent 8d30796a
......@@ -23,7 +23,6 @@ my $testbed_srcdir = "@top_srcdir@";
# Locals
my $master_fill = "$testbed_srcdir/sql/database-fill.sql";
my $export_tables = "../utils/export_tables";
my $wap = "$testbed_srcdir/utils/withadminprivs";
my $tempfile = "/tmp/dbdiff.$$";
my $exitcode = 0;
......@@ -31,7 +30,7 @@ my $exitcode = 0;
# Diff exits with 2 if a problem. We tell diff to ignore whitespace
# changes and comment lines (line starting with '--').
#
if (system("perl $wap perl $export_tables | ".
if (system("perl $export_tables | ".
"diff -b -B -I '^--.*\$' $master_fill - > $tempfile") == 2) {
unlink($tempfile);
die("*** $0:\n".
......
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -22,10 +22,6 @@ my $DBNAME = '@TBDBNAME@';
my $mysqldump = "mysqldump";
if (!TBAdmin($UID)) {
die("Only admins get to use this program\n");
}
#
# Build a list of tables to export
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment