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:
parent
0cec36dded
commit
376bdfc38b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user