Commit 2ab61584 authored by Mac Newbold's avatar Mac Newbold
Browse files

Add a warning so that this doesn't do the wrong thing now that the schema changed out from under it

parent de55a5ab
...@@ -16,6 +16,12 @@ use libtestbed; ...@@ -16,6 +16,12 @@ use libtestbed;
$ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin'; $ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
die("This script hasn't been updated to match schema changes yet!\n".
"It still uses the lastlogin table, which was replaced by three\n".
"different tables:\n".
"nodeuidlastlogin, uidnodelastlogin, and userslastlogin\n".
"Please fix this before trying to use it!\n");
$query_result = $query_result =
DBQueryFatal("select pid,gid from groups"); DBQueryFatal("select pid,gid from groups");
......
Supports Markdown
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