diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-07 08:47:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-07 08:47:34 +0000 |
commit | 8728c0bc94743935cec28caa83d93833ea3aa6a6 (patch) | |
tree | 3ec6baf53a880e123936bcbe45205bbfb9b96580 /source/web/statuspage.c | |
parent | c78deb1d229bd301be483a256f1fd2047cec6120 (diff) | |
download | samba-8728c0bc94743935cec28caa83d93833ea3aa6a6.tar.gz samba-8728c0bc94743935cec28caa83d93833ea3aa6a6.tar.xz samba-8728c0bc94743935cec28caa83d93833ea3aa6a6.zip |
always restart nmbd and smbd when asked, even if they appear not to be
responding. They could be stuck
Diffstat (limited to 'source/web/statuspage.c')
-rw-r--r-- | source/web/statuspage.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/web/statuspage.c b/source/web/statuspage.c index 359db5c80a3..e9cda3bd701 100644 --- a/source/web/statuspage.c +++ b/source/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")) { |