summaryrefslogtreecommitdiffstats
path: root/flash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-15 00:44:38 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-15 00:44:38 (EST)
commit1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7 (patch)
tree8a93094e458ebc71b643ade8fd28bb403f171805 /flash
parentfbe0e2aa0c433906d59d69b9cfd346e6ea2f081f (diff)
downloadlibreboot-1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7.zip
libreboot-1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7.tar.gz
libreboot-1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7.tar.bz2
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 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