Skip to content
Snippets Groups Projects
Commit 6a49e6f7 authored by Dirk Zimoch's avatar Dirk Zimoch
Browse files

add error message

parent e1d6f331
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,12 @@ int runScript(const char* filename, const char* args)
char** pairs;
int status = 0;
if (!filename)
{
fprintf(stderr, "Usage: runScript filename [macro=value,...]\n");
return -1;
}
if (interruptAccept)
{
fprintf(stderr, "Warning: Running script %s after iocInit may crash the ioc later.\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment