diff options
-rwxr-xr-x | utility/vbutil_what_keys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/vbutil_what_keys b/utility/vbutil_what_keys index abc33d03..a4b185d5 100755 --- a/utility/vbutil_what_keys +++ b/utility/vbutil_what_keys @@ -85,7 +85,7 @@ dofile() { file="$1" size=$(stat -c %s "$file") - if [ "$size" -le 8388608 ]; then + if [ -f "$file" ] && [ "$size" -le 8388608 ]; then echo "BIOS: $file" hwid=$(gbb_utility --hwid "$file" | sed -e 's/^.*: *//') || continue; |