to see the receiver output

This commit is contained in:
Dhanya Maliakal 2016-11-07 10:29:56 +01:00
parent ede6ccd720
commit 3a3e2e26d8

View File

@ -7,6 +7,7 @@
#include <iostream>
#include <string.h>
#include <signal.h> //SIGINT
#include <cstdlib> //system
#include "utilities.h"
#include "logger.h"
@ -49,6 +50,8 @@ int main(int argc, char *argv[]) {
//Catch signal SIGINT to close files properly
signal(SIGINT,closeFile);
system("setterm -term linux -back black");
int ret = slsReceiverDefs::OK;
receiver = new slsReceiverUsers(argc, argv, ret);