Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuhub committed May 11, 2024
1 parent 460850e commit 21df8b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ static void initializeNatives(final Path tmpFile, final boolean mlockAll, final
final Logger logger = LogManager.getLogger(Elasticsearch.class);

// check if the user is running as root, and bail
if (NativeAccess.instance().definitelyRunningAsRoot()) {
/* if (NativeAccess.instance().definitelyRunningAsRoot()) {
throw new RuntimeException("can not run elasticsearch as root");
}
}*/

if (systemCallFilter) {
/*
Expand Down

0 comments on commit 21df8b9

Please sign in to comment.