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 {