diff options
Diffstat (limited to 'flash')
-rwxr-xr-x | flash | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ if (( $# != 1 )); then echo "You need to specify exactly 1 file" exit fi +if [ ! -f $1 ]; then + echo "File not found!" + exit +fi # boardmismatch=force is for people upgrading from libreboot 5th release, where the new ROM's are "ThinkPad X60 / X60s / X60t" # and the old ones are "ThinkPad X60 / X60s" and flashrom complains otherwise |