Removed redundant line in logwatch.sh and failedlogins.sh
This commit is contained in:
@@ -49,8 +49,6 @@ function updatelog {
|
||||
fi
|
||||
}
|
||||
|
||||
sudo -u $wwwuser php "$nextcloudpath/occ" user:list > /tmp/ncchecknewusers.txt
|
||||
|
||||
array=($(cat $nextcloudpath/config/config.php | grep 'datadirectory'))
|
||||
nextcloudfilespath=${array[2]:1:-2}
|
||||
cp $nextcloudfilespath/nextcloud.log /tmp/nclog.tmp
|
||||
|
||||
Reference in New Issue
Block a user