Remove && preventing clean exit of a nonexisting session
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
8a785ba438
commit
c52118fa9b
|
@ -254,7 +254,7 @@ fi
|
||||||
|
|
||||||
if [ "$END" == 1 ]; then
|
if [ "$END" == 1 ]; then
|
||||||
if [ -e "$RUNTIME"/"$MONITOR"_host.pid ]; 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"_host.pid
|
||||||
rm -f "$RUNTIME"/"$MONITOR".env
|
rm -f "$RUNTIME"/"$MONITOR".env
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue