From bb7aabf8d52a19b3dcd0f662b38e9b5f35521123 Mon Sep 17 00:00:00 2001
From: Mike Hibler <mike@flux.utah.edu>
Date: Thu, 11 Jan 2007 00:40:02 +0000
Subject: [PATCH] Add a missing "my".  This seems to fix the latest elabinelab
 problem... though this same code has been working for close to a year now.

I am running on FreeBSD 6.2 instead of 6.1, but I haven't updated the ports
(e.g., perl).
---
 utils/firstuser.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/firstuser.in b/utils/firstuser.in
index 1ccfa60a36..be070104d3 100755
--- a/utils/firstuser.in
+++ b/utils/firstuser.in
@@ -117,7 +117,7 @@ if (!defined($encpass)) {
 # Get uid for the user and a gid for the project
 
 # For non-initial users, get the next available index.
-$result = DBQueryFatal("select idx from emulab_indicies ".
+my $result = DBQueryFatal("select idx from emulab_indicies ".
 		       "where name='next_uid'");
 if ($result->numrows() > 0) {
     ($MINUID) = $result->fetchrow_array();
-- 
GitLab