softIoc: spin to keep alive

This commit is contained in:
Michael Davidsaver
2020-11-13 14:03:23 -08:00
parent 315fb3df69
commit de3cdcef39

View File

@@ -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);