diff --git a/main/fart.cc b/main/fart.cc index ac201a3..aeb531e 100644 --- a/main/fart.cc +++ b/main/fart.cc @@ -136,13 +136,14 @@ int main(int argc, char * argv[]) cout << "----------------------------------------" << endl; } + distrib the_distrib; + struct timeval before, after; gettimeofday(&before, NULL); /* start timing */ if (distributed) { /* start the distribution infrastructure */ - distrib the_distrib; if (server) { if (strcmp(hosts_file, "")) @@ -241,5 +242,6 @@ int main(int argc, char * argv[]) cout << endl; } + exit(0); return 0; }