aboutsummaryrefslogtreecommitdiff
path: root/lenovobios_secondflash
diff options
context:
space:
mode:
Diffstat (limited to 'lenovobios_secondflash')
-rwxr-xr-xlenovobios_secondflash4
1 files changed, 4 insertions, 0 deletions
diff --git a/lenovobios_secondflash b/lenovobios_secondflash
index 521269dd..79604e29 100755
--- a/lenovobios_secondflash
+++ b/lenovobios_secondflash
@@ -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."