use less intrusive smbstatus call in periodic connections cleanup 1.0.69
authorAndrew Tridgell <tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000 (08:18 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 5 May 2009 22:21:07 +0000 (08:21 +1000)
config/events.d/50.samba

index 9ec5f1c2d830f554cafce773fe943b737f42b842..2040f9d856498446af33fa1e12060976645964a6 100755 (executable)
@@ -109,7 +109,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