up
This commit is contained in:
parent
b3eea2048e
commit
041d2de192
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue