fix ODBCsetup code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d67c1ad4c8
commit
7ba5f5a827
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user