Change Logging mechanism.
This commit is contained in:
		| @@ -1,6 +1,12 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
|  |  | ||||||
| LOGGING=false | if [[ -t 1 ]] ; then | ||||||
|  |       terminal=true | ||||||
|  |       LOGGING=true | ||||||
|  | else | ||||||
|  |    terminal=false | ||||||
|  |    LOGGING=false | ||||||
|  | fi | ||||||
|  |  | ||||||
| mysql=`which mysql` | mysql=`which mysql` | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user