diff options
author | Slack Coder <slackcoder@server.ky> | 2024-10-09 14:30:13 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-10-09 14:30:13 -0500 |
commit | c06315cad32bd3413f1534846d90bbfa9ef48a9e (patch) | |
tree | 22a4d3ea7b54fea4a79d0ef292fdf9a7aedbae96 | |
parent | 485ea37963e7fd004b82caa8e6ae660ebc51d613 (diff) | |
download | slackbuilds-c06315cad32bd3413f1534846d90bbfa9ef48a9e.tar.xz |
gmid: Fix the rc script fix
-rw-r--r-- | gmid/files/rc.gmid.new | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmid/files/rc.gmid.new b/gmid/files/rc.gmid.new index 9438b36..5e24edf 100644 --- a/gmid/files/rc.gmid.new +++ b/gmid/files/rc.gmid.new @@ -33,7 +33,7 @@ gmid_start() { local pid="$(2>/dev/null cat /run/gmid/gmid.pid)" - if [ -n "$pid" ] || kill -0 "$pid" 2>/dev/null; then + if [ -n "$pid" ] && kill -0 "$pid" 2>/dev/null; then echo "gmid is already running" return |