fix so won't have double entries in cfgloc on the service node with db2install runs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7c93f53ca5
commit
49a8e3d1ea
@ -70,7 +70,6 @@ $::command = "$0 $args";
|
||||
Getopt::Long::Configure("bundling");
|
||||
$Getopt::Long::ignorecase = 0;
|
||||
$::databaseloc = "/var/lib/db2"; # database loccation
|
||||
|
||||
# parse the options
|
||||
if (
|
||||
!GetOptions(
|
||||
@ -1365,7 +1364,7 @@ sub createcfgloc
|
||||
my $message;
|
||||
|
||||
# if they had an old cfgloc , save it
|
||||
if ((-e ($cfgloc)) && (!(-e ($cfglocbackup))))
|
||||
if (-e ($cfgloc)
|
||||
{
|
||||
$cmd = "mv $cfgloc $cfglocbackup";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user