From fbeb655459ff93ef8de564f01eb63f16424d153b Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Mon, 28 Jul 2025 22:25:12 +0200 Subject: [PATCH] Update config/remove_subscription_warning.sh --- config/remove_subscription_warning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/remove_subscription_warning.sh b/config/remove_subscription_warning.sh index 16d733d..1964fc7 100644 --- a/config/remove_subscription_warning.sh +++ b/config/remove_subscription_warning.sh @@ -1,6 +1,6 @@ #!/bin/bash # Create backup and remove subscription warning from js file -sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js +sed -Ezi.bak "s/(function \(orig_cmd\) \{)/\1\n orig_cmd();\n return;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js systemctl restart pveproxy.service