From 9c782244550dcf89b8ca57d2327f890ac8fb286d Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 22 Mar 2021 13:37:08 +0500 Subject: [PATCH] push install status --- cyberpanel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index c21c7e6b6..fa65ea460 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -102,8 +102,9 @@ echo -e "\n${1}=${2}\n" >> /tmp/cyberpanel_debug.log } Debug_Log2() { +Check_Server_IP "$@" echo -e "\n${1}" >> /var/log/installLogs.txt -curl -d '{"ipAddress": "${Server_IP}", "InstallCyberPanelStatus": "${1}"}' -H "Content-Type: application/json" -X POST http://cloud.cyberpanel.net:8000/servers/RecvData +curl -d {"ipAddress": "'"$Server_IP"'", "InstallCyberPanelStatus": "'"$1"'"}' -H "Content-Type: application/json" -X POST http://cloud.cyberpanel.net:8000/servers/RecvData > /dev/null } Branch_Check() {