1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-520 - sudo testing amazon

This commit is contained in:
David Hill
2018-10-30 16:25:11 -05:00
parent 32d9b20cf3
commit 3e4b869a25
2 changed files with 12 additions and 12 deletions

View File

@ -1477,7 +1477,7 @@ int main(int argc, char* argv[])
// setup to start on reboot, for non-root amazon installs
if ( !rootUser )
{
system("sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
system("sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
}
if ( !writeConfig(sysConfig) )