diff --git a/lgsm/modules/command_stop.sh b/lgsm/modules/command_stop.sh index c2c12da2a..f1e421579 100644 --- a/lgsm/modules/command_stop.sh +++ b/lgsm/modules/command_stop.sh @@ -283,7 +283,7 @@ rm -f "${lockdir:?}/${selfname}-started.lock" # If user ran the stop command monitor will become disabled. if [ -z "${exitbypass}" ]; then - rm -f > "${lockdir:?}/${selfname}-monitoring.lock" + rm -f "${lockdir:?}/${selfname}-monitoring.lock" fi