Updates for diskwatcher

This commit is contained in:
Michiel Broek
2004-03-21 12:55:45 +00:00
parent f55ff6280f
commit f10a39a9e7
17 changed files with 67 additions and 82 deletions

View File

@@ -100,10 +100,8 @@ int main(int argc, char **argv)
Syslog(' ', cmd);
free(cmd);
if (enoughspace(CFG.freespace) == 0) {
Syslog('+', "Low diskspace, abort");
if (enoughspace(CFG.freespace) == 0)
ExitClient(MBERR_DISK_FULL);
}
if (lockprogram((char *)"mbuser")) {
if (!do_quiet)