mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
background the smbstatus -n command
(This used to be ctdb commit 0a05cc6763aa6e57089d3ce70516d359fcddb0e4)
This commit is contained in:
parent
37861932ce
commit
61fd2d5d6f
@ -36,7 +36,7 @@ periodic_cleanup() {
|
||||
# running smbstatus scrubs any dead entries from the connections
|
||||
# and sessionid database
|
||||
echo "`date` Running periodic cleanup of samba databases"
|
||||
smbstatus -n > /dev/null 2>&1
|
||||
smbstatus -n > /dev/null 2>&1 &
|
||||
}
|
||||
|
||||
case $cmd in
|
||||
|
Loading…
x
Reference in New Issue
Block a user