mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 15:42:51 +01:00
fix: return codes in manual mode
This commit is contained in:
1 parent
81c2d19a09
commit
47f7622606
1 file changed
+2
-2
+2
-2
@@ -1084,7 +1084,7 @@ try_connect(){
|
|||||||
local gameport=$(<<< $record awk -F: '{print $2}')
|
local gameport=$(<<< $record awk -F: '{print $2}')
|
||||||
local qport=$(<<< $record awk -F: '{print $3}')
|
local qport=$(<<< $record awk -F: '{print $3}')
|
||||||
|
|
||||||
echo "$binary" > $_cache_binary
|
[[ $appid -eq $exp ]] && echo "$binary" > $_cache_binary
|
||||||
|
|
||||||
local remote_mods
|
local remote_mods
|
||||||
remote_mods=$(a2s $ip $qport rules)
|
remote_mods=$(a2s $ip $qport rules)
|
||||||
@@ -1110,7 +1110,7 @@ try_connect(){
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
case $auto_install in
|
case $auto_install in
|
||||||
"") manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "$appid";;
|
"") manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "" "$appid";;
|
||||||
1|2) manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "auto" "$appid" ;;
|
1|2) manual_mod_install "$ip" "$gameport" "$diff" "$sanitized_mods" "auto" "$appid" ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user