Project

General

Profile

« Previous | Next » 

Revision 4045cf1e

Added by Jim Pingle almost 11 years ago

Fix two more instances of rrd.tgz renaming.

View differences:

etc/inc/upgrade_config.inc
1991 1991
		/* restore the databases, if we have one */
1992 1992
		if (restore_rrd()) {
1993 1993
			/* Make sure to move the rrd backup out of the way. We will make a new one after converting. */
1994
			rename("{$g['cf_conf_path']}/rrd.tgz", "{$g['cf_conf_path']}/backup");
1994
			@rename("{$g['cf_conf_path']}/rrd.tgz", "{$g['cf_conf_path']}/backup/rrd.tgz");
1995 1995
		}
1996 1996
	}
1997 1997

  
......
3107 3107
		/* restore the databases, if we have one */
3108 3108
		if (restore_rrd()) {
3109 3109
			/* Make sure to move the rrd backup out of the way. We will make a new one after converting. */
3110
			rename("{$g['cf_conf_path']}/rrd.tgz", "{$g['cf_conf_path']}/backup");
3110
			@rename("{$g['cf_conf_path']}/rrd.tgz", "{$g['cf_conf_path']}/backup/rrd.tgz");
3111 3111
		}
3112 3112
	}
3113 3113

  

Also available in: Unified diff