Gabriele Contini
2020-02-15 9119e2b9bbb11b4ae21618fbaacfe6edaeb2a62b
src/library/os/linux/execution_environment.cpp
@@ -94,7 +94,7 @@
   return result;
}
bool ExecutionEnvironment::is_cloud() { return getCloudProvider() == NONE; }
bool ExecutionEnvironment::is_cloud() { return getCloudProvider() != ON_PREMISE; }
bool ExecutionEnvironment::is_docker() { return (checkContainerProc() == 1 || checkSystemdContainer() == 1); }