Skip to content

Commit

Permalink
fix: change ip bug on wsl (#292)
Browse files Browse the repository at this point in the history
Co-authored-by: liuyu <>
  • Loading branch information
eball authored Aug 5, 2024
1 parent f2333a8 commit dcb5563
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/installer/change_ip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ check_desktop(){

main() {
get_shell_exec
precheck_os

if [[ $(is_wsl) -eq 1 || $(is_macos) -eq 1 ]]; then
ip=$1
Expand All @@ -464,6 +463,8 @@ main() {
exit 0
fi

precheck_os

local storage_type="s3"
if is_k3s; then
if system_service_active "k3s" ; then
Expand Down Expand Up @@ -505,4 +506,4 @@ main() {
log_info 'Success to change the Terminus IP address!'
}

main
main $1

0 comments on commit dcb5563

Please sign in to comment.