diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 863795289..12fec371f 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2379,7 +2379,8 @@ setLocation( void * vdata ) if( !err ) { /* blow away the leftover subdirectories in the old location */ - tr_torrentDeleteLocalData( tor, remove ); + if( do_move ) + tr_torrentDeleteLocalData( tor, remove ); /* set the new location and reverify */ tr_torrentSetDownloadDir( tor, location );