Update mysqlbu-scripts.sh
This commit is contained in:
1 parent
8710d83c0e
commit
dc84b2da7f
1 file changed
+1
@@ -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