break out if streamer = none (#149)

This commit is contained in:
paukstelis
2024-01-27 21:33:23 -05:00
committed by GitHub
parent 00b5969798
commit b300f707c2

View File

@@ -153,6 +153,12 @@ add_camera() {
main_menu main_menu
fi fi
if [ "$STREAMER" == none ]; then
echo "No camera streamer service has been installed."
echo "Use the utilities menu to add one."
main_menu
fi
if [ $SUDO_USER ]; then user=$SUDO_USER; fi if [ $SUDO_USER ]; then user=$SUDO_USER; fi
echo 'Adding camera' | log echo 'Adding camera' | log
if [ -z "$INSTANCE" ]; then if [ -z "$INSTANCE" ]; then