Fixed trailing slash removal code.

Change-Id: I152dcec5cc8f4c417e3503f4b8fd3fdd8bc4fda5
This commit is contained in:
Aaron Schulz 2013-05-31 10:56:12 -07:00
parent d982b2d556
commit f8ba647478

View file

@ -56,7 +56,7 @@ class CopyFileBackend extends Maintenance {
$src = FileBackendGroup::singleton()->get( $this->getOption( 'src' ) );
$dst = FileBackendGroup::singleton()->get( $this->getOption( 'dst' ) );
$containers = explode( '|', $this->getOption( 'containers' ) );
$subDir = $this->getOption( rtrim( 'subdir', '/' ), '' );
$subDir = rtrim( $this->getOption( 'subdir', '' ), '/' );
$rateFile = $this->getOption( 'ratefile' );