Project

General

Profile

« Previous | Next » 

Revision 13249

bugfix: lib/sh/db.sh: mysql_snapshot(): try: need to use split syntax with prep_try instead, to work with prefix vars

View differences:

trunk/lib/sh/db.sh
255 255
	local from="${from:-/var/lib/mysql}"; local to="${to:-$from.bak}"
256 256
	
257 257
	mysql_ctl stop
258
	local_dir="$from" remote_url="$to" try sudo upload
258
	prep_try; local_dir="$from" remote_url="$to" "try" upload
259 259
	mysql_ctl start
260 260
	rethrow
261 261
}

Also available in: Unified diff