From 7ba5f5a827b14e10bdb4f4890138baf13ce28f71 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 11 Jul 2012 12:25:00 +0000 Subject: [PATCH] fix ODBCsetup code git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/pgsqlsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/pgsqlsetup b/xCAT-client/bin/pgsqlsetup index ada3450f6..2b8680154 100755 --- a/xCAT-client/bin/pgsqlsetup +++ b/xCAT-client/bin/pgsqlsetup @@ -1033,7 +1033,7 @@ sub setupODBC exit(1); } # setup the DSN odbc.ini file - $cmd = "fgrep -i Pg: $odbcfile"; + $cmd = "fgrep -i xcatdb $odbcfile"; xCAT::Utils->runcmd($cmd, -1); if ($::RUNCMD_RC != 0) # then xcat entry not there {