Gabriele Contini
2020-02-10 7cd73dd4f6ddec566c33596766c779beb873aa63
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); }