Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
awit-ssh-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
allworldit
awit-ssh-client
Commits
9d91c54e
Commit
9d91c54e
authored
8 years ago
by
Nigel Kukard
Browse files
Options
Downloads
Plain Diff
Merge branch 'kill-fix' into 'master'
We test a process is up by kill 0 not kill -1 See merge request
!16
parents
f92200ba
86f71afe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!16
We test a process is up by kill 0 not kill -1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
awit-ssh
+1
-1
1 addition, 1 deletion
awit-ssh
with
1 addition
and
1 deletion
awit-ssh
+
1
−
1
View file @
9d91c54e
...
...
@@ -663,7 +663,7 @@ exit 0;
sub
cleanup
{
# Kill the child
if
(
$forwardChild
&&
kill
(
-
1
,
$forwardChild
))
{
if
(
$forwardChild
&&
kill
(
0
,
$forwardChild
))
{
kill
('
TERM
',
$forwardChild
);
# Wait for it to die
waitpid
(
$forwardChild
,
-
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment