Merge pull request #310 from thinkOfaNumber/master

improve error message for incorrect file name/path
This commit is contained in:
OSQZSS 2022-01-14 12:11:33 +09:00 committed by GitHub
commit becf3a33e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1930,6 +1930,11 @@ int main(int argc, char *argv[])
fprintf(stderr, "ERROR: No ephemeris available.\n");
exit(1);
}
else if (neph==-1)
{
fprintf(stderr, "ERROR: ephemeris file not found.\n");
exit(1);
}
if ((verb==TRUE)&&(ionoutc.vflg==TRUE))
{