projects
/
adu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4f8415
)
Check the return value of print_statistics().
author
Andre Noll
<maan@systemlinux.org>
Fri, 30 May 2008 16:09:13 +0000
(18:09 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Fri, 30 May 2008 16:09:13 +0000
(18:09 +0200)
It may fail.
adu.c
patch
|
blob
|
history
diff --git
a/adu.c
b/adu.c
index b025e2ff2162acc81489f1bfc8cb39708d2297c0..7c6ba6f10674c0c1d6f1fec4d1bcd18ee27103a2 100644
(file)
--- a/
adu.c
+++ b/
adu.c
@@
-972,9
+972,9
@@
static int com_select(void)
ret = read_uid_file();
if (ret < 0)
return ret;
- print_statistics();
+
ret =
print_statistics();
close_all_tables();
- return
1
;
+ return
ret
;
}
static int check_args(void)