From 79222af848bee41b1c5bb836613c82912c45bf15 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Thu, 14 Feb 2019 16:46:18 -0800 Subject: [PATCH] Revert "qa/standalone: discard pipe in sysctl kernel.core_pattern" This reverts commit 5ba6286834386e5af7ac43440e8c3fb0f234646c. Signed-off-by: David Zafman Conflicts: qa/run-standalone.sh (reseting core_pattern moved to function) (cherry picked from commit c7dd8549b6d7cc56786aca942c2b923f668d8eaf) --- qa/run-standalone.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh index 1cc4b56a6e823..788a866aa691c 100755 --- a/qa/run-standalone.sh +++ b/qa/run-standalone.sh @@ -83,11 +83,6 @@ count=0 errors=0 userargs="" precore="$(sysctl -n $KERNCORE)" - -if [[ "${precore:0:1}" = "|" ]]; then - precore="${precore:1}" -fi - # If corepattern already set, avoid having to use sudo if [ "$precore" = "$COREPATTERN" ]; then precore="" -- 2.39.5