summaryrefslogtreecommitdiffstats
path: root/flash
diff options
context:
space:
mode:
Diffstat (limited to 'flash')
-rwxr-xr-xflash2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash b/flash
index bb3384f..48b41e7 100755
--- a/flash
+++ b/flash
@@ -77,7 +77,7 @@ else
# libreboot_util
flashrom="./flashrom/$arch/flashrom"
fi
-if [ 1 -f "$flashrom" ]; then
+if [ ! -f "$flashrom" ]; then
echo "flashrom binary not present"
exit 1
fi