Commit 92839568 authored by Claes Sjofors's avatar Claes Sjofors

Xtt bugfix for opplace arg with only object name

parent afb7e20b
...@@ -686,6 +686,10 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) : ...@@ -686,6 +686,10 @@ Xtt::Xtt( int *argc, char **argv[], int *return_sts) :
} }
sts = gdh_GetNextObject( op_objid, &op_objid); sts = gdh_GetNextObject( op_objid, &op_objid);
} }
if ( !opplace_found) {
printf("** Unable to find opplace\n");
exit(sts);
}
} }
else { else {
sts = gdh_NameToObjid( opplace_str, &op_objid); sts = gdh_NameToObjid( opplace_str, &op_objid);
......
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