This commit is contained in:
斟酌 鵬兄 2014-04-20 12:23:41 -05:00
parent 1bbc562fce
commit b8d0e9de8a

View File

@ -4,9 +4,9 @@ source ./config.sh
# IO Redirection
exec > $LOGFILE
exec 2> $ERRLOG
if [[ -n $BMOUNT ]] && ! grep -qs $BMOUNT /proc/mounts; then
echo Mounting $BMOUNT ...
mount $BMOUNT
@ -85,6 +85,6 @@ while read line; do
# echo --\> $line
done < backup_list
if [[ "$MOUNTED" -eq 0 ]]; then
if [[ "$MOUNTED" = 0 ]]; then
umount $BMOUNT
fi