mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-25 14:34:22 +00:00
added another sanity check
This commit is contained in:
parent
fd5388506b
commit
a3843b9f12
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user