up
This commit is contained in:
parent
b3eea2048e
commit
041d2de192
|
@ -138,7 +138,7 @@ func LoadBuckets(cConfig *csconfig.Config) error {
|
|||
func LoadAcquisition(cConfig *csconfig.Config) error {
|
||||
var err error
|
||||
|
||||
if flags.SingleFileType != "" || flags.OneShotDSN == "" {
|
||||
if flags.SingleFileType != "" || flags.OneShotDSN != "" {
|
||||
if flags.OneShotDSN == "" || flags.SingleFileType == "" {
|
||||
return fmt.Errorf("-type requires a -dsn argument")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue