Commit 469d4337 authored by Mikael Salson's avatar Mikael Salson

align.cgi: Don't open FASTA file if an error occured before

parent db808d61
......@@ -80,6 +80,8 @@ int main(int argc, char* argv[])
}
if (!cgi_mode) cout <<ost<<endl;
if (! error) {
Fasta fa(fdata, 1, " ", !cgi_mode);
......@@ -125,6 +127,7 @@ int main(int argc, char* argv[])
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment