Skip to content
Snippets Groups Projects
Commit 6be8860b authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #7350: Cleaned up send_status a bit

parent 6041e527
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ using boost::format;
static void usage(const char *argv0)
{
cerr << "Usage: " << argv0 << " status" << endl;
cerr << "Usage: " << argv0 << " success" << endl;
cerr << endl;
cerr << " -h: print this message" << endl;
}
......@@ -64,7 +64,7 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
int status = atoi(argv[optind]);
int success = atoi(argv[optind]);
// send status feedback
ToBus bus("lofar.task.feedback.status");
......@@ -73,7 +73,7 @@ int main(int argc, char **argv)
"Cobalt/GPUProc/sendStatus",
"",
"Status feedback",
status);
success);
bus.send(msg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment