diff options
author | lassulus <lassulus@lassul.us> | 2022-10-23 18:28:36 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-10-23 18:29:42 +0200 |
commit | 411ebc426cf98debcde3515491a2c0afdda51b48 (patch) | |
tree | f2630b495bb6b226a1ae2c90ac35239adbdae28c /krebs/2configs/shack/doorstatus.sh | |
parent | 83760c369206ae6dcb078b77f0e6e1cb0fdbea93 (diff) |
doorstatus: ignore ssl errors
Diffstat (limited to 'krebs/2configs/shack/doorstatus.sh')
-rwxr-xr-x | krebs/2configs/shack/doorstatus.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/shack/doorstatus.sh b/krebs/2configs/shack/doorstatus.sh index 11e710cfd..46314cb9c 100755 --- a/krebs/2configs/shack/doorstatus.sh +++ b/krebs/2configs/shack/doorstatus.sh @@ -54,7 +54,7 @@ Herr makefu an Kasse 3 bitte, Kasse 3 bitte Herr makefu. Der API Computer ist ma EOF ) -state=$(curl https://api.shackspace.de/v1/space | jq .doorState.open) +state=$(curl -fSsk https://api.shackspace.de/v1/space | jq .doorState.open) prevstate=$(cat state ||:) if test "$state" == "$(cat state)";then |