From b78e21b23b2e19de18b514414dc17e9095623efc Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 4 Sep 2023 20:58:19 +0100 Subject: [PATCH] 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. --- linuxgsm.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index 03ae4a434..76a470a63 100755 --- a/linuxgsm.sh +++ b/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")"