Browse Source

script log message capital

pull/1255/head
Daniel Gibbs 8 years ago
parent
commit
bea65fb35a
  1. 4
      lgsm/functions/command_backup.sh

4
lgsm/functions/command_backup.sh

@ -16,12 +16,12 @@ fn_backup_trap(){
echo "" echo ""
echo -ne "backup ${backupname}.tar.gz..." echo -ne "backup ${backupname}.tar.gz..."
fn_print_canceled_eol_nl fn_print_canceled_eol_nl
fn_script_log_info "backup ${backupname}.tar.gz: CANCELED" fn_script_log_info "Backup ${backupname}.tar.gz: CANCELED"
sleep 1 sleep 1
rm -f "${backupdir}/${backupname}.tar.gz" | tee -a "${scriptlog}" rm -f "${backupdir}/${backupname}.tar.gz" | tee -a "${scriptlog}"
echo -ne "backup ${backupname}.tar.gz..." echo -ne "backup ${backupname}.tar.gz..."
fn_print_removed_eol_nl fn_print_removed_eol_nl
fn_script_log_info "backup ${backupname}.tar.gz: REMOVED" fn_script_log_info "Backup ${backupname}.tar.gz: REMOVED"
# Remove lock file # Remove lock file
rm -f "${tmpdir}/.backup.lock" rm -f "${tmpdir}/.backup.lock"
core_exit.sh core_exit.sh

Loading…
Cancel
Save