Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
cbca0212
Commit
cbca0212
authored
Sep 27, 2011
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tap: fix exit status when we have exactly 256 errors.
parent
cafea330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
ccan/tap/tap.c
ccan/tap/tap.c
+11
-2
No files found.
ccan/tap/tap.c
View file @
cbca0212
...
...
@@ -418,8 +418,8 @@ todo_end(void)
UNLOCK
;
}
int
exit_status
(
void
)
static
int
exit_status
_
(
void
)
{
int
r
;
...
...
@@ -446,3 +446,12 @@ exit_status(void)
return
r
;
}
int
exit_status
(
void
)
{
int
r
=
exit_status_
();
if
(
r
>
255
)
r
=
255
;
return
r
;
}
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