git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dac1ec
)
always restart nmbd and smbd when asked, even if they appear not to be
author
Andrew Tridgell
<tridge@samba.org>
Fri, 7 Jan 2000 08:47:34 +0000
(08:47 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 7 Jan 2000 08:47:34 +0000
(08:47 +0000)
responding. They could be stuck
(This used to be commit
8728c0bc94743935cec28caa83d93833ea3aa6a6
)
source3/web/statuspage.c
patch
|
blob
|
history
diff --git
a/source3/web/statuspage.c
b/source3/web/statuspage.c
index 359db5c80a3e270842cd68c1f55272076b75eb53..e9cda3bd701a4af1900c17d0fc79904a103207ed 100644
(file)
--- 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")) {