2
0
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:
Steve Schnepp 2015-05-30 08:42:38 +00:00
parent 066bec8d0b
commit c5238dbc5f

View File

@ -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) {