diff --git a/class/core/logs_api.py b/class/core/logs_api.py index e0e859274..beb2cdb57 100644 --- a/class/core/logs_api.py +++ b/class/core/logs_api.py @@ -124,10 +124,13 @@ class logs_api: if log_suffix[0] in ['gz', 'xz', 'bz2', 'asl']: continue - if log_file in ['.', '..', 'faillog', 'fontconfig.log', 'unattended-upgrades', 'tallylog']: + if log_file in ['.', '..']: continue filename = os.path.join(log_dir, log_file) + if not os.path.exists(filename): + continue + if os.path.isfile(filename): file_size = os.path.getsize(filename) if not file_size: diff --git a/plugins/clean/index.py b/plugins/clean/index.py index bff9ed1ec..465107933 100755 --- a/plugins/clean/index.py +++ b/plugins/clean/index.py @@ -88,6 +88,7 @@ def initConf(): "/var/log/btmp.*", "/var/log/sa/sa*", "/var/log/sysstat/sa*", + "/var/log/atop/atop*", "/var/log/anaconda/*.log", "/var/log/dpkg.log.*", diff --git a/plugins/mariadb/js/mariadb.js b/plugins/mariadb/js/mariadb.js index 5c3304c3a..7ab192009 100755 --- a/plugins/mariadb/js/mariadb.js +++ b/plugins/mariadb/js/mariadb.js @@ -1655,7 +1655,7 @@ function addMasterRepSlaveUser(){ -function updateMasterRepSlaveUser(username){ +function updateMasterRepSlaveUser(username, password){ var index = layer.open({ type: 1, @@ -1668,7 +1668,7 @@ function updateMasterRepSlaveUser(username){