diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index 16d6d84a1..a892840b2 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -1364,7 +1364,7 @@ sub createcfgloc my $message; # if they had an old cfgloc , save it - if (-e ($cfgloc) + if (-e ($cfgloc)) { $cmd = "mv $cfgloc $cfglocbackup"; xCAT::Utils->runcmd($cmd, 0);