1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-137 dbroot offline error. Fix logic for non-root user

This commit is contained in:
David Hall
2016-09-29 15:53:38 -05:00
parent b35cfc3352
commit 299c145858

View File

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