Project

General

Profile

« Previous | Next » 

Revision 8e23a630

Added by Chris Buechler about 9 years ago

Only try to chown files that still exist. Ticket #6131

View differences:

src/etc/inc/rrd.inc
1070 1070

  
1071 1071
	$databases = glob("{$rrddbpath}/*.rrd");
1072 1072
	foreach ($databases as $database) {
1073
		chown($database, "nobody");
1073
		if (file_exists($database)) {
1074
			chown($database, "nobody");
1075
		}
1074 1076
	}
1075 1077

  
1076 1078
	if (platform_booting()) {

Also available in: Unified diff