]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "qa/standalone: discard pipe in sysctl kernel.core_pattern"
authorDavid Zafman <dzafman@redhat.com>
Fri, 15 Feb 2019 00:46:18 +0000 (16:46 -0800)
committerAshish Singh <assingh@redhat.com>
Thu, 7 Mar 2019 07:22:39 +0000 (12:52 +0530)
This reverts commit 5ba6286834386e5af7ac43440e8c3fb0f234646c.

Signed-off-by: David Zafman <dzafman@redhat.com>
Conflicts:
qa/run-standalone.sh (reseting core_pattern moved to function)
(cherry picked from commit c7dd8549b6d7cc56786aca942c2b923f668d8eaf)

qa/run-standalone.sh

index 1cc4b56a6e823ab16f3b243786ae17b2b3fd81d7..788a866aa691c02a24cc66e626313f3a52764bf1 100755 (executable)
@@ -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=""