1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

Remove archaic error is DISPLAY is not set

This commit is contained in:
Antonin Portelli 2020-11-17 11:50:52 +00:00
parent 0cec36dded
commit 376bdfc38b

View File

@ -663,10 +663,6 @@ void Plot::display(void)
string command; string command;
ostringstream scriptBuf; ostringstream scriptBuf;
if (!getenv("DISPLAY"))
{
LATAN_ERROR(System, "cannot find DISPLAY variable: is it set ?");
}
getProgramPath(); getProgramPath();
command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null"; command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null";
gnuplotPipe = popen(command.c_str(), "w"); gnuplotPipe = popen(command.c_str(), "w");