summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2b22cfc..523e348 100644
--- a/main.go
+++ b/main.go
@@ -77,7 +77,7 @@ func getTasks() (tasks []recording.TaskConfig) {
fromCli := len(*rooms) > 0
fromFile := *configFilePtr != ""
- if fromCli == fromFile {
+ if fromCli && fromFile {
err = fmt.Errorf("cannot specify room id argument and config file at the same time")
return
}