aboutsummaryrefslogtreecommitdiff
path: root/lenovobios_firstflash
diff options
context:
space:
mode:
Diffstat (limited to 'lenovobios_firstflash')
-rwxr-xr-xlenovobios_firstflash4
1 files changed, 4 insertions, 0 deletions
diff --git a/lenovobios_firstflash b/lenovobios_firstflash
index 2da44271..bcedaf85 100755
--- a/lenovobios_firstflash
+++ b/lenovobios_firstflash
@@ -29,6 +29,10 @@ if (( $# != 1 )); then
echo "You need to specify exactly 1 file"
exit
fi
+if [ ! -f $1 ]; then
+ echo "File not found!"
+ exit
+fi
echo "Don't panic. See docs/index.html for an explanation of what BUC.TS is."