Skip to content

Commit

Permalink
Set RUNNING_IN=screen when the IOC is running in screen so the script…
Browse files Browse the repository at this point in the history
… can connect to the IOC's shell when the console argument is used.
  • Loading branch information
kmpeters committed Sep 28, 2020
1 parent c52a099 commit a088aa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iocBoot/iocxxx/softioc/xxx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,13 @@ checkpid() {

if [ ${s_pid} -eq ${P_PID} ] ; then
SCREEN_PID=${s_pid}
RUNNING_IN=screen
break
fi

if [ ${s_pid} -eq ${GP_PID} ] ; then
SCREEN_PID=${s_pid}
RUNNING_IN=screen
break
fi

Expand Down

0 comments on commit a088aa0

Please sign in to comment.