mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
qa/standalone/ceph-helpers.sh: provide argument to dirname
Fixes: http://tracker.ceph.com/issues/23805 Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
a4778e9d62
commit
f03b9028f5
@ -158,7 +158,7 @@ function teardown() {
|
||||
pattern=""
|
||||
fi
|
||||
# Local we start with core and teuthology ends with core
|
||||
if ls $(dirname $pattern) | grep -q '^core\|core$' ; then
|
||||
if ls $(dirname "$pattern") | grep -q '^core\|core$' ; then
|
||||
cores="yes"
|
||||
if [ -n "$LOCALRUN" ]; then
|
||||
mkdir /tmp/cores.$$ 2> /dev/null || true
|
||||
|
Loading…
Reference in New Issue
Block a user