mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-26 02:02:09 +08:00
Merge fix-bug-884504.
This commit is contained in:
@@ -99,6 +99,11 @@ log() {
|
||||
echo "${1}" >&2
|
||||
}
|
||||
|
||||
# Make sure pt-collect is executable before starting.
|
||||
if [ ! -x $COLLECT ]; then
|
||||
die "$COLLECT not found or not executable"
|
||||
fi
|
||||
|
||||
# Make the collection location
|
||||
mkdir -p "${DEST}" || die "Can't make the destination directory"
|
||||
test -d "${DEST}" || die "${DEST} isn't a directory"
|
||||
|
||||
Reference in New Issue
Block a user