use less intrusive smbstatus call in periodic connections cleanup origin rusty/origin
authorAndrew Tridgell <tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000 (08:18 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000 (08:18 +1000)
config/events.d/50.samba

index e0e2ad7bb5b307d68844d43228b9798980a7b42c..0343ce486fe77ce04f2d932ebeeadd777139b88d 100755 (executable)
@@ -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