Fix error /dev/ttyUSB0 is not a regular file

This commit is contained in:
Doron Behar 2018-10-12 20:24:54 +03:00
parent e76be67d6e
commit cd754458b2

View file

@ -1763,7 +1763,7 @@ else ifeq ($(notdir $(MONITOR_CMD)), picocom)
else ifeq ($(notdir $(MONITOR_CMD)), cu)
$(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE)
else ifeq ($(MONITOR_CMD), less)
$(MONITOR_CMD) +F $(call get_monitor_port)
$(MONITOR_CMD) +F -f $(call get_monitor_port)
else ifeq ($(MONITOR_CMD), tail)
$(MONITOR_CMD) -f $(call get_monitor_port)
else ifeq ($(MONITOR_CMD), cat)