add check shell

This commit is contained in:
mirocow 2015-12-24 15:17:35 +04:00
parent 2c98f9ad79
commit 4d4fc1a66b

View file

@ -12,6 +12,8 @@ CONFIG_FILE='/etc/mysql/debian.cnf'
# === DO NOT EDIT BELOW THIS LINE ===
if [ ! -n "$BASH" ] ;then echo Please run this script $0 with bash; exit 1; fi
# === FUNCTION ===
f_log()
{