From dd9e8074f70f6077ee9aeac262f2a46a5a69bc7b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 7 Jan 2000 08:47:34 +0000 Subject: always restart nmbd and smbd when asked, even if they appear not to be responding. They could be stuck (This used to be commit 8728c0bc94743935cec28caa83d93833ea3aa6a6) --- source3/web/statuspage.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/web/statuspage.c') diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c index 359db5c80a..e9cda3bd70 100644 --- a/source3/web/statuspage.c +++ b/source3/web/statuspage.c @@ -134,8 +134,7 @@ void status_page(void) TDB_CONTEXT *tdb; if (cgi_variable("smbd_restart")) { - if (smbd_running()) - stop_smbd(); + stop_smbd(); start_smbd(); } @@ -148,8 +147,7 @@ void status_page(void) } if (cgi_variable("nmbd_restart")) { - if (nmbd_running()) - stop_nmbd(); + stop_nmbd(); start_nmbd(); } if (cgi_variable("nmbd_start")) { -- cgit