From aa59ea11350d4b23f35d61fbd7e2e4117822a336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de> Date: Fri, 8 Feb 2019 14:44:54 +0100 Subject: [PATCH] Remove error There is a fallback implementation if dmesg cannot be read --- dune/codegen/common/tsc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/codegen/common/tsc.cc b/dune/codegen/common/tsc.cc index b1e8c10a..b0c7e682 100644 --- a/dune/codegen/common/tsc.cc +++ b/dune/codegen/common/tsc.cc @@ -96,8 +96,8 @@ namespace Dune { if (waitpid(pid,&status,0) < 0) DUNE_THROW(TSCError,"Failed to clean up dmesg child process"); - if (WEXITSTATUS(status) != 0) - DUNE_THROW(TSCError,"Child process failed with return status " << WEXITSTATUS(status)); + // if (WEXITSTATUS(status) != 0) + // DUNE_THROW(TSCError,"Child process failed with return status " << WEXITSTATUS(status)); if (result < 0) DUNE_THROW(TSCNotInKernelLog,"Could not find TSC frequency information in kernel log"); -- GitLab