fix: improve update_script function by enhancing structure and readability

This commit is contained in:
John Doe
2026-03-05 15:24:13 -05:00
parent efb6329952
commit 420dee4678

View File

@@ -52,12 +52,10 @@ function update_script() {
$STD go build -o /usr/local/bin/localagi || { $STD go build -o /usr/local/bin/localagi || {
msg_error "Failed to build LocalAGI from source" msg_error "Failed to build LocalAGI from source"
exit 1 exit 1
fi systemctl enable -q --now localagi
exit exit
} }
fi
systemctl enable -q --now localagi
exit exit
} }