Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
5981c35a
Commit
5981c35a
authored
Dec 01, 2022
by
Walid Boudebouda
Committed by
Dridi Boukelmoune
Dec 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mgt: Remove vext_cache only when necessary
Refs #3874
parent
4fa7f784
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mgt_main.c
bin/varnishd/mgt/mgt_main.c
+4
-2
No files found.
bin/varnishd/mgt/mgt_main.c
View file @
5981c35a
...
@@ -286,9 +286,11 @@ mgt_Cflag_atexit(void)
...
@@ -286,9 +286,11 @@ mgt_Cflag_atexit(void)
/* Only master process */
/* Only master process */
if
(
getpid
()
!=
heritage
.
mgt_pid
)
if
(
getpid
()
!=
heritage
.
mgt_pid
)
return
;
return
;
vext_cleanup
(
1
);
if
(
arg_list_count
(
"E"
))
{
vext_cleanup
(
1
);
VJ_rmdir
(
"vext_cache"
);
}
VJ_rmdir
(
"vmod_cache"
);
VJ_rmdir
(
"vmod_cache"
);
VJ_rmdir
(
"vext_cache"
);
(
void
)
chdir
(
"/"
);
(
void
)
chdir
(
"/"
);
VJ_rmdir
(
workdir
);
VJ_rmdir
(
workdir
);
}
}
...
...
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