fix(hwhandler.sh): fix error in device logging

If device is not on a Raspberry Pi, it does not log devices

Error occurs in Line 93 of logging.sh

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2023-05-23 13:21:32 +02:00
parent 308109323a
commit b0c011b4ef
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639

View File

@ -70,6 +70,9 @@ detect_libcamera() {
echo "0"
fi
fi
if [[ "$(is_raspberry_pi)" = "0" ]]; then
echo "0"
fi
}
## Spit /base/soc path for libcamera device