summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-05-06 08:18:21 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-06 08:20:55 +1000
commit4f4f03f84a288c7e4194646c3ac9e37bab343a08 (patch)
treea3c693f1ed68565cb5b16885215faa09f253ed0c
parent08492a524bd07df6f3dca8ac598662fb6159187d (diff)
downloadsamba-4f4f03f84a288c7e4194646c3ac9e37bab343a08.tar.gz
samba-4f4f03f84a288c7e4194646c3ac9e37bab343a08.tar.xz
samba-4f4f03f84a288c7e4194646c3ac9e37bab343a08.zip
use less intrusive smbstatus call in periodic connections cleanup
(This used to be ctdb commit a152fdc79e3360049aee66c3e628237a91df181f)
-rwxr-xr-xctdb/config/events.d/50.samba2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba
index e0e2ad7bb5..0343ce486f 100755
--- a/ctdb/config/events.d/50.samba
+++ b/ctdb/config/events.d/50.samba
@@ -135,7 +135,7 @@ periodic_cleanup() {
# running smbstatus scrubs any dead entries from the connections
# and sessionid database
# echo "Running periodic cleanup of samba databases"
- smbstatus -n > /dev/null 2>&1 &
+ smbstatus -np > /dev/null 2>&1 &
}
case $cmd in