Commit 9ea4ddc2 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Another fix for Tim!

parent 3389babe
......@@ -918,6 +918,17 @@ sub ArchiveArchive($$)
return 0;
}
# Is it shared? If so, certainly do not archive it!
my $shared;
if (IsArchiveShared($archive_idx, \$shared) < 0) {
return -1;
}
if ($shared) {
print STDERR "ArchiveArchive: ".
"Archive '$archive_idx' is shared; not archiving!\n";
return 0;
}
if (! -d $directory || ! -w $directory) {
print STDERR "ArchiveArchive: $directory cannot be written!\n";
return -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment