From 18e2a871e70bd3cf5decc8044ec7b047dfdb1167 Mon Sep 17 00:00:00 2001 From: Ilia Date: Wed, 22 Jun 2022 22:10:40 +0300 Subject: [PATCH] Fix missing restart command --- webmin/webmin-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webmin/webmin-lib.pl b/webmin/webmin-lib.pl index f1d0a83e5..53afaf32a 100755 --- a/webmin/webmin-lib.pl +++ b/webmin/webmin-lib.pl @@ -1788,7 +1788,8 @@ Output a page with header and footer about Webmin needing to restart. =cut sub show_restart_page { -if (1) { +if (!$gconfig{'restart_async'}) { + &restart_miniserv(); &redirect(""); return; }