1.2 - Script Cleanup

This commit is contained in:
Dave Conroy
2017-09-27 08:44:17 -07:00
parent 6fe85eeaf7
commit aef46788b5
2 changed files with 7 additions and 4 deletions

View File

@@ -9,12 +9,12 @@ date >/dev/null
fi
### Sanity Test
if [ !-n "DB_TYPE"]; then
if [ !-n "DB_TYPE" ]; then
echo '** [db-backup] ERROR: No Database Type Selected! '
exit 1
fi
if [ !-n "DB_HOST"]; then
if [ !-n "DB_HOST" ]; then
echo '** [db-backup] ERROR: No Database Host Entered! '
exit 1
fi