Fix --action duplicate behaviour for when --action clone is available and working

This commit is contained in:
Reinhard Pointner 2019-05-20 15:11:27 +07:00
parent 36d358c41b
commit cb551d547e
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public enum StandardRenameAction implements RenameAction {
// try to clone
if (Platform.isMac() || Platform.isLinux()) {
try {
CLONE.rename(from, to);
return CLONE.rename(from, to);
} catch (Exception e) {
debug.finest(cause(CLONE, e));
}