softIoc: spin to keep alive

This commit is contained in:
Michael Davidsaver committed 2021-05-19 09:02:55 -07:00
1 parent 315fb3df69
commit de3cdcef39
1 file changed
+4 -1
@@ -249,7 +249,10 @@ int main(int argc, char *argv[])
} else {
if (loadedDb || ranScript) {
epicsThreadExitMain();
// non-interactive IOC. spin forever
while(true) {
epicsThreadSleep(1000.0);
}
} else {
usage(argv[0], dbd_file);