Browse Source

Fixed flash script

Thomas Buck 8 years ago
parent
commit
cb6632610c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      flash.sh

+ 1
- 1
flash.sh View File

1
 #!/bin/sh
1
 #!/bin/sh
2
 
2
 
3
-if [ "$#" -ne 1 ] || ! [ -d "$1" ]; then
3
+if [ "$#" -ne 1 ] ; then
4
  	echo "Usage: $0 /dev/disk" >&2
4
  	echo "Usage: $0 /dev/disk" >&2
5
 	exit 1
5
 	exit 1
6
 fi
6
 fi

Loading…
Cancel
Save