aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xflash2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash b/flash
index bb3384f7..48b41e74 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