mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed device group policy download in Linux.
This commit is contained in:
parent
b2d9dc5f87
commit
f97bf52f9c
3 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ DownloadAgent() {
|
|||
wget $url/meshsettings?id=$meshid -q --no-check-certificate -O /usr/local/mesh/meshagent.msh
|
||||
|
||||
# If it did not work, try again using http
|
||||
if [ $? -eq 0 ]
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
wget $url/meshsettings?id=$meshid -q -O /usr/local/mesh/meshagent.msh
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue