1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

mcol-406, fix non-root startup issue

This commit is contained in:
David Hill
2016-11-15 16:30:58 +00:00
parent 5aced3442f
commit 3b33601a20

View File

@ -9615,7 +9615,7 @@ namespace oam
// The stat above may fail for non-root because of permissions
// This is a non-optimal solution
string cmd = "pgrep ProcMon";
if (system(cmd.c_str()) == 0)
if (system(cmd.c_str()) == 1)
{
return true;
}