diff options
Diffstat (limited to 'lenovobios_firstflash')
-rwxr-xr-x | lenovobios_firstflash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lenovobios_firstflash b/lenovobios_firstflash index 2da4427..bcedaf8 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." |