Change Logging mechanism.

This commit is contained in:
Christoph 2017-07-03 04:06:05 +02:00
parent 3f869c36b1
commit 639adf672c

View File

@ -1,6 +1,12 @@
#!/usr/bin/env bash
LOGGING=false
if [[ -t 1 ]] ; then
terminal=true
LOGGING=true
else
terminal=false
LOGGING=false
fi
mysql=`which mysql`