LinuxGSM: syntax error: operand expected (error token is "-")

Hi, if i restart my Server i get this error:

[ .... ] Stopping ark-server: Arc
[ .... ] Stopping ark-server: Arc
[ .... ] Stopping ark-server: Process still bound. Awaiting graceful exit: 0
[ .... ] Stopping ark-server: Process still bound. Awaiting graceful exit: 1
[ .... ] Stopping ark-server: Process still bound. Awaiting graceful exit: 2/home/steam/lgsm/functions/command_stop.sh: line 183: let: -: syntax error: operand expected (error token is "-")
/home/steam/lgsm/functions/command_stop.sh: line 185: [[: -: syntax error: operand expected (error token is "-")


[  OK  ] Stopping ark-server: Arc

[ .... ] Log Manager ark-server: Starting
[  OK  ] Log Manager ark-server: Starting

[ INFO ] Log Manager ark-server: Removing logs older than 7 days

[  OK  ] Log Manager ark-server: Removed 2 log files

[ .... ] Starting ark-server: Arc
[  OK  ] Starting ark-server: Arc

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (12 by maintainers)

Most upvoted comments

The good news is that the issue is benign. The message does not effect the restart behavior.

Pull request #909 will solve the issue and squash the error in the event the process id vanishes when queried (which is a GOOD thing).