aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/minicom.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/minicom.sh b/scripts/minicom.sh
index b22e1056..58685c6d 100755
--- a/scripts/minicom.sh
+++ b/scripts/minicom.sh
@@ -2,7 +2,7 @@
# If you want to use toybox netcat to talk to a serial port, use this.
-if [ ! -f "$1" ]
+if [ ! -c "$1" ]
then
echo "Usage: minicom.sh /dev/ttyS0"
exit 1