diff --git a/lib/Rex/Interface/Fs/Local.pm b/lib/Rex/Interface/Fs/Local.pm index 161538635..4f7ffa71a 100644 --- a/lib/Rex/Interface/Fs/Local.pm +++ b/lib/Rex/Interface/Fs/Local.pm @@ -170,7 +170,7 @@ sub rename { else { ($old) = $self->_normalize_path($old); ($new) = $self->_normalize_path($new); - $exec->exec("/bin/mv $old $new"); + $exec->exec("/bin/mv -f $old $new"); } if ( $? == 0 ) { return 1; }