diff options
author | Guy Sheffer <guysoft@gmail.com> | 2018-02-23 21:16:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 21:16:13 +0300 |
commit | f8fc698110c5b8db51cf2faaebc267e7808a55da (patch) | |
tree | e8601fea756b70fd498f3efd89d06e65f4e941d0 | |
parent | 9464e7bf7cadf588bda33ba5db4d531f5da5292e (diff) | |
parent | e521351a111f217b6eefb070cc79f5f6883f49b3 (diff) |
Merge pull request #489 from bionik/multiplecamcheck
Fixed white space to fix setting the video_device_count variable
-rwxr-xr-x | src/modules/octopi/filesystem/home/root/bin/webcamd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/octopi/filesystem/home/root/bin/webcamd b/src/modules/octopi/filesystem/home/root/bin/webcamd index 702d6a4..e11da35 100755 --- a/src/modules/octopi/filesystem/home/root/bin/webcamd +++ b/src/modules/octopi/filesystem/home/root/bin/webcamd @@ -121,7 +121,7 @@ vcgencmd version > /dev/null 2>&1 # keep mjpg streamer running if some camera is attached while true; do # get number of usb video devices - video_device_count = $(ls /dev/video? 2> /dev/null | wc -l) + video_device_count=$(ls /dev/video? 2> /dev/null | wc -l) if [ "$video_device_count" != "0" ] && { [ "$camera" = "auto" ] || [ "$camera" = "usb" ] ; }; then startUsb sleep 30 & |