mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Resume --resume or -R can now be used with bte import
This commit is contained in:

committed by
Kostas Stamatis

parent
bf3915880d
commit
c5747c4127
@@ -373,10 +373,10 @@ public class ItemImport
|
||||
}
|
||||
|
||||
// can only resume for adds
|
||||
if (isResume && !"add".equals(command))
|
||||
if (isResume && !"add".equals(command) && !"add-bte".equals(command))
|
||||
{
|
||||
System.out
|
||||
.println("Error - resume option only works with --add command");
|
||||
.println("Error - resume option only works with the --add or the --add-bte commands");
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user