Skip to content

Commit

Permalink
Merge branch 'NewVideoServer' of https://github.com/nik0/rootfs into …
Browse files Browse the repository at this point in the history
…NewVideoServer
  • Loading branch information
nik0 committed Sep 1, 2018
2 parents ee8be6b + a0b42db commit ed7833b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/userscripts/detectionTracking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ backtoOrigin() {

# If no argument that's mean the camera need to return to its original position
# the 5th arguments is '&'
if [ $# -ne 5 ]
if [ $# -eq 5 ]
then
backtoOrigin
return 0;
Expand All @@ -120,7 +120,7 @@ echo $3 $4
# Only 2 are supported
if [ $((${1} + ${2} + ${3} +${4})) -gt 2 ]
then
echo "No move if more than 3 detected regions"
echo "No move if more than 3 detected regions"
return 0
fi

Expand Down

0 comments on commit ed7833b

Please sign in to comment.