Browse Source

refactor: remove unnecessary command_stop.sh call

The code change removes the unnecessary call to `command_stop.sh` in the `linuxgsm.sh` file. This improves efficiency and prevents lingering tmux sessions.
pull/4304/head
Daniel Gibbs 2 years ago
parent
commit
b78e21b23b
  1. 1
      linuxgsm.sh

1
linuxgsm.sh

@ -418,7 +418,6 @@ else
if [ ! -f "${datadir}/${selfname}.uid" ]; then
# stop running server (if running) to prevent lingering tmux sessions.
exitbypass=1
command_stop.sh
uid=$(date '+%s' | sha1sum | head -c 8)
echo "${uid}" > "${datadir}/${selfname}.uid"
socketname="${sessionname}-$(cat "${datadir}/${selfname}.uid")"

Loading…
Cancel
Save