fix unset for noserial

This commit is contained in:
paukstelis
2022-11-18 20:24:50 -05:00
parent c39a0305a9
commit 97e0601907
2 changed files with 2 additions and 1 deletions

View File

@@ -390,7 +390,7 @@ add_camera() {
if [ -z "$PI" ]; then
detect_camera
if [ -n "$NOSERIAL" ]; then
unset $CAM
unset CAM
fi
#Failed state. Nothing detected
if [ -z "$CAM" ] && [ -z "$TEMPUSBCAM" ] ; then