From: David Zafman Date: Fri, 15 Feb 2019 00:46:18 +0000 (-0800) Subject: Revert "qa/standalone: discard pipe in sysctl kernel.core_pattern" X-Git-Tag: v14.1.1~160^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c7dd8549b6d7cc56786aca942c2b923f668d8eaf;p=ceph.git 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) --- diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh index df5cc4efcd6..6d0c0a9340a 100755 --- a/qa/run-standalone.sh +++ b/qa/run-standalone.sh @@ -77,11 +77,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=""