mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 20:38:22 +00:00
Test for stacktrace file existence before calling pt-pmp (fixes bug 945836)
This commit is contained in:
@@ -361,7 +361,11 @@ main() {
|
||||
done
|
||||
|
||||
echo "--stack traces--"
|
||||
$PR_pmp -l 5 "${BASEDIR}/${PREFIX}-stacktrace" | head -n 5
|
||||
if [ -e "${BASEDIR}/${PREFIX}-stacktrace" ]; then
|
||||
$PR_pmp -l 5 "${BASEDIR}/${PREFIX}-stacktrace" | head -n 5
|
||||
else
|
||||
echo " No stack trace file exists"
|
||||
fi
|
||||
|
||||
echo "--oprofile--"
|
||||
if [ ! -e "${BASEDIR}/${PREFIX}-opreport" ]; then
|
||||
|
Reference in New Issue
Block a user