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
d52425ff
Commit
d52425ff
authored
Feb 26, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishadm: do not ignore SIGTERM/SIGINT for interactive&pass mode
fixes #3229
parent
cff50548
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
varnishadm.c
bin/varnishadm/varnishadm.c
+7
-5
No files found.
bin/varnishadm/varnishadm.c
View file @
d52425ff
...
@@ -467,9 +467,6 @@ main(int argc, char * const *argv)
...
@@ -467,9 +467,6 @@ main(int argc, char * const *argv)
argc
-=
optind
;
argc
-=
optind
;
argv
+=
optind
;
argv
+=
optind
;
VSIG_Arm_int
();
VSIG_Arm_term
();
if
(
T_arg
!=
NULL
)
{
if
(
T_arg
!=
NULL
)
{
if
(
n_arg
!=
NULL
)
if
(
n_arg
!=
NULL
)
usage
(
1
);
usage
(
1
);
...
@@ -482,9 +479,14 @@ main(int argc, char * const *argv)
...
@@ -482,9 +479,14 @@ main(int argc, char * const *argv)
if
(
sock
<
0
)
if
(
sock
<
0
)
exit
(
2
);
exit
(
2
);
if
(
argc
>
0
)
if
(
argc
>
0
)
{
VSIG_Arm_int
();
VSIG_Arm_term
();
do_args
(
sock
,
argc
,
argv
);
do_args
(
sock
,
argc
,
argv
);
else
if
(
isatty
(
0
))
NEEDLESS
(
exit
(
0
));
}
if
(
isatty
(
0
))
interactive
(
sock
);
interactive
(
sock
);
else
else
pass
(
sock
);
pass
(
sock
);
...
...
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