diff options
Diffstat (limited to '')
-rwxr-xr-x | start-sim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ cd ${bindir} | |||
46 | if ( ${screen_command} -q list-sessions 2>/dev/null | grep -q ${console_name}: ); then | 46 | if ( ${screen_command} -q list-sessions 2>/dev/null | grep -q ${console_name}: ); then |
47 | true | 47 | true |
48 | else | 48 | else |
49 | # The sudo is only so that the session is owned by opensim, otherwise it's owned by whoewer ran this script, which is a likely security hole. | 49 | # The sudo is only so that the session is owned by opensim, otherwise it's owned by whoever ran this script, which is a likely security hole. |
50 | # After the session is created, we rely on the /var/run/opensim directory to be group sticky, so that anyone in the opensim group can attach to the tmux socket. | 50 | # After the session is created, we rely on the /var/run/opensim directory to be group sticky, so that anyone in the opensim group can attach to the tmux socket. |
51 | $SUDO ${screen_command} new-session -d -s ${console_name} | 51 | $SUDO ${screen_command} new-session -d -s ${console_name} |
52 | fi | 52 | fi |