LinuxGSM: syntax error: operand expected (error token is "-")
Hi, if i restart my Server i get this error:
[K[ .... ] Stopping ark-server: Arc
[K[ .... ] Stopping ark-server: Arc
[K[ .... ] Stopping ark-server: Process still bound. Awaiting graceful exit: 0
[K[ .... ] Stopping ark-server: Process still bound. Awaiting graceful exit: 1
[K[ .... ] 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 "-")
[K[[0;32m OK [0m] Stopping ark-server: Arc
[K[ .... ] Log Manager ark-server: Starting
[K[[0;32m OK [0m] Log Manager ark-server: Starting
[K[[0;36m INFO [0m] Log Manager ark-server: Removing logs older than 7 days
[K[[0;32m OK [0m] Log Manager ark-server: Removed 2 log files
[K[ .... ] Starting ark-server: Arc
[K[[0;32m OK [0m] Starting ark-server: Arc
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (12 by maintainers)
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).
@cedarlug ? https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/command_stop.sh#L185