Daniel Gibbs
1 year ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
2 changed files with
2 additions and
2 deletions
-
lgsm/modules/command_dev_query_raw.sh
-
lgsm/modules/command_monitor.sh
|
|
@ -207,7 +207,7 @@ echo -e "" |
|
|
|
echo -e "${lightgreen}Gamedig Raw Output${default}" |
|
|
|
fn_messages_separator |
|
|
|
echo -e "" |
|
|
|
if [ ! "$(command -v gamedig 2> /dev/null)" ]; then |
|
|
|
if [ ! "$(command -v gamedig 2> /dev/null)" ] || [ ! -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ]; then |
|
|
|
fn_print_failure_nl "gamedig not installed" |
|
|
|
fi |
|
|
|
if [ ! "$(command -v jq 2> /dev/null)" ]; then |
|
|
|
|
|
@ -369,7 +369,7 @@ fn_monitor_loop() { |
|
|
|
for querymethod in "${query_methods_array[@]}"; do |
|
|
|
# Will check if gamedig is installed and bypass if not. |
|
|
|
if [ "${querymethod}" == "gamedig" ]; then |
|
|
|
if [ "$(command -v gamedig 2> /dev/null)" ] && [ "$(command -v jq 2> /dev/null)" ]; then |
|
|
|
if [ "$(command -v gamedig 2> /dev/null)" ] || [ -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ] && [ "$(command -v jq 2> /dev/null)" ]; then |
|
|
|
if [ -z "${monitorpass}" ]; then |
|
|
|
fn_monitor_query |
|
|
|
fi |
|
|
|