diff --git a/core/copy.go b/core/copy.go index d652951..d9a2e8d 100644 --- a/core/copy.go +++ b/core/copy.go @@ -32,7 +32,7 @@ func CopyArgument(targetLocation string, field int) error { if len(decryptedEntry) > field { // ensure field is not empty - if decryptedEntry[field] == "" { + if field > -1 && decryptedEntry[field] == "" { return errors.New("field is empty") }