mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-21 08:34:22 +01:00
added another sanity check
This commit is contained in:
@@ -107,6 +107,11 @@ func main() {
|
||||
if autoReceiveScheduleEnvVariableSet {
|
||||
log.Fatal("Env variable AUTO_RECEIVE_SCHEDULE can't be used with mode json-rpc")
|
||||
}
|
||||
|
||||
_, signalCliCommandTimeoutEnvVariableSet := os.LookupEnv("SIGNAL_CLI_CMD_TIMEOUT")
|
||||
if signalCliCommandTimeoutEnvVariableSet {
|
||||
log.Fatal("Env variable SIGNAL_CLI_CMD_TIMEOUT can't be used with mode json-rpc")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user