Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
9ea4ddc2
Commit
9ea4ddc2
authored
Jan 12, 2006
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another fix for Tim!
parent
3389babe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
tbsetup/libArchive.pm.in
tbsetup/libArchive.pm.in
+11
-0
No files found.
tbsetup/libArchive.pm.in
View file @
9ea4ddc2
...
...
@@ -917,6 +917,17 @@ sub ArchiveArchive($$)
"Archive '$archive_idx' already archived on $date_archived!
\n
"
;
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
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment