1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

add a writeconfig after mysqlrep

This commit is contained in:
david hill
2017-11-06 08:35:54 -06:00
parent 93f8a59ade
commit 43a6465811

View File

@@ -883,6 +883,11 @@ int main(int argc, char *argv[])
catch(...) catch(...)
{} {}
if ( !writeConfig(sysConfig) ) {
cout << "ERROR: Failed trying to update MariaDB ColumnStore System Configuration file" << endl;
exit(1);
}
break; break;
} }
} }
@@ -1058,6 +1063,7 @@ int main(int argc, char *argv[])
if ( !rootUser ) if ( !rootUser )
{ {
system("sudo sed -i -e 's/#sudo runuser/sudo runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1"); system("sudo sed -i -e 's/#sudo runuser/sudo runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
system("sudo chmod 666 /etc/fstab >/dev/null 2>&1");
} }
if ( !writeConfig(sysConfig) ) { if ( !writeConfig(sysConfig) ) {