From c6096f64c524ce2d0b365375b3d105cd7a79ce41 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 10 May 2004 11:38:16 +0000 Subject: [PATCH] Fixed --version output. Fixed initialization of the listing files and printing the time of the last previous level dump. --- scripts/backup.in | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/scripts/backup.in b/scripts/backup.in index 7baa4a0..c646305 100644 --- a/scripts/backup.in +++ b/scripts/backup.in @@ -92,7 +92,7 @@ do prev=$option ;; -V|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "restore; @PACKAGE@ (@VERSION@)" + echo "backup (@PACKAGE@ @VERSION@)" exit 0;; -L|--li|--lic|--lice|--licen|--licens|--license) license @@ -179,14 +179,8 @@ message 20 "BACKUP_FILES=$BACKUP_FILES" if [ $DUMP_LEVEL -eq 0 ]; then make_level_log ${remotehost} else - LF=`level_log_name ${fsname} 0` - pdate=`remote_run "${remotehost}" ls -l $LF | awk '{ - printf("%s", $6) - for (i=7;i