# The default configuration.
my $config="@DEFAULT_CONFIG@";
-# Get the version suffix.
-my $USE_VERSION_SUFFIXES = '@USE_VERSION_SUFFIXES@';
-my $suf = '';
-if ( $USE_VERSION_SUFFIXES =~ /^yes$/i ) {
- $suf='-@VERSION@';
-}
-
-my $amadmin = "$sbindir/amadmin$suf";
+my $amadmin = "$sbindir/amadmin";
# overrideable defaults
my $opt_config = "$config";
next if /skipping cruft directory/;
next if /skip-incr/;
- ($date, $time, $host, $disk, $level, $tape, $file, $part, $status) = shellwords($_);
+ ($date, $time, $host, $disk, $level, $tape, $file, $part, $status, $remaining) = shellwords($_);
next if $date eq 'date';
next if $date eq 'Warning:';
next if $date eq 'Scanning';
next if $date eq "";
+ $status .= " " . $remaining;
if($time !~/^\d\d:\d\d:\d\d$/) {
$status = $part;
$part = $file;
$disk = $host;
$host = $time;
}
+ next if ($part != 1);
if ($date =~ /^\d\d\d\d-\d\d-\d\d$/) {
if(defined $disks{$host}{$disk}) {