Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
22bc7fc6
Commit
22bc7fc6
authored
Apr 23, 2012
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
May 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also reflect the VCC exit code through if -C is specified.
Fixes #1069
parent
444e642f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
mgt_vcc.c
bin/varnishd/mgt_vcc.c
+6
-8
No files found.
bin/varnishd/mgt_vcc.c
View file @
22bc7fc6
...
...
@@ -390,18 +390,16 @@ mgt_vcc_default(const char *b_arg, const char *f_arg, char *vcl, int C_flag)
if
(
VSB_len
(
sb
)
>
0
)
fprintf
(
stderr
,
"%s"
,
VSB_data
(
sb
));
VSB_delete
(
sb
);
if
(
C_flag
)
{
if
(
vf
!=
NULL
)
if
(
C_flag
&&
vf
!=
NULL
)
AZ
(
unlink
(
vf
));
return
(
0
);
}
if
(
vf
==
NULL
)
{
fprintf
(
stderr
,
"
\n
VCL compilation failed
\n
"
);
return
(
1
);
}
}
else
{
vp
=
mgt_vcc_add
(
buf
,
vf
);
vp
->
active
=
1
;
return
(
0
);
}
}
/*--------------------------------------------------------------------*/
...
...
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