1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 13:15:37 +01: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;
ostringstream scriptBuf;
if (!getenv("DISPLAY"))
{
LATAN_ERROR(System, "cannot find DISPLAY variable: is it set ?");
}
getProgramPath();
command = gnuplotPath_ + "/" + gnuplotBin_ + " 2>/dev/null";
gnuplotPipe = popen(command.c_str(), "w");