From: Sergey Poznyakoff Date: Mon, 10 May 2004 11:38:16 +0000 (+0000) Subject: Fixed --version output. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c6096f64c524ce2d0b365375b3d105cd7a79ce41;p=chaz%2Ftar Fixed --version output. Fixed initialization of the listing files and printing the time of the last previous level dump. --- 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