diff --git a/position.sh b/position.sh index d294f0a..d1ded4d 100644 --- a/position.sh +++ b/position.sh @@ -6,7 +6,7 @@ Y=1.25 if [ "${1}" == "set" ]; then paxi move $X 0 paxi move 0 $Y -else if [ "${1}" == "reset" ]; then +elif [ "${1}" == "reset" ]; then paxi move -$X 0 paxi move 0 -$Y fi \ No newline at end of file