diff --git a/foodoor b/foodoor index 9f4cb3d..b050583 100755 --- a/foodoor +++ b/foodoor @@ -20,7 +20,7 @@ fi case $action in close|open) - echo $action | tee $PIPE_PATH |sed 's/open/UNLOCKED/' 's/close/LOCKED/' > /state + echo $action | tee $PIPE_PATH |sed 's/open/UNLOCKED/;s/close/LOCKED/' > /state ;; status) ;;