mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
p/multicpu1sec-c: always exit(0) when successful
This commit is contained in:
parent
066bec8d0b
commit
c5238dbc5f
@ -166,6 +166,8 @@ int acquire() {
|
||||
|
||||
close(cache_file);
|
||||
close(f);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int fetch() {
|
||||
@ -182,6 +184,8 @@ int fetch() {
|
||||
|
||||
ftruncate(fileno(cache_file), 0);
|
||||
fclose(cache_file);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
Loading…
Reference in New Issue
Block a user