aboutsummaryrefslogtreecommitdiff
path: root/flash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-15 05:44:38 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-15 05:44:38 +0000
commit1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7 (patch)
tree8a93094e458ebc71b643ade8fd28bb403f171805 /flash
parentfbe0e2aa0c433906d59d69b9cfd346e6ea2f081f (diff)
downloadlibrebootfr-1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7.tar.gz
librebootfr-1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7.zip
flash script: fix typo in command
Diffstat (limited to 'flash')
-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