Update mysqlbu-scripts.sh
This commit is contained in:
@@ -13,6 +13,7 @@ source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scr
|
||||
|
||||
if [ $(id -u) != "0" ]; then
|
||||
echo "Sorry, I need root privileges!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
MYSQLDATA="`grep --perl-regexp --only-match '(?<=datadir=).+' "$MYSQLCFG"`"
|
||||
|
||||
Reference in New Issue
Block a user