diff --git a/offset-extract/offset-extract.sh b/offset-extract/offset-extract.sh index 2b371a3..df9bf1f 100644 --- a/offset-extract/offset-extract.sh +++ b/offset-extract/offset-extract.sh @@ -2,11 +2,11 @@ if [ $# = 0 ]; then echo "Usage: $0 [optional mysqld symbols]" - echo "Will extract offsets from mysqld. Requires gdb and mysqld symbols." + echo "Will extract offsets from mysqld. Requires gdb, md5sum and mysqld symbols." exit 1 fi -#extract the version +#extract the version of mysqld FULL_MYVER=`$1 --version | grep -P -o 'Ver\s+[\w\.-]+'| awk '{print $2}'`