#!/bin/bash
-### Halt on errors
-#set -e
-### Halt on unset variables
-set -u
-
### Do not inherit the following variables
# Safety net just in case some calls this
# script in a bogus way.
## Backup job for main
job_main() {
echo "" >> $SESSIONLOG
- echo "Backing up main `date`" >>
+ echo "Backing up main `date`" >> $SESSIONLOG
echo "" >> $SESSIONLOG
echo "Going for /etc" >> $SESSIONLOG