Remove && preventing clean exit of a nonexisting session

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-05-14 12:57:00 -04:00
parent 8a785ba438
commit c52118fa9b
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ fi
if [ "$END" == 1 ]; then
if [ -e "$RUNTIME"/"$MONITOR"_host.pid ]; then
kill "$(<"$RUNTIME"/"$MONITOR"_host.pid)" &&
kill "$(<"$RUNTIME"/"$MONITOR"_host.pid)"
rm -f "$RUNTIME"/"$MONITOR"_host.pid
rm -f "$RUNTIME"/"$MONITOR".env
else