thomasjacquin / allsky-portal

A simple, responsive web interface to control an allsky camera connected to a Raspberry Pi
GNU General Public License v3.0
34 stars 22 forks source link

Sunwait fix #107

Closed EricClaeys closed 2 years ago

EricClaeys commented 2 years ago

In Bullseye, the default sunwait doesn't return "DAY" or "NIGHT", instead, it indicates which one it is via its exit code. This Buster version does both, so check for exit code instead of returned string.