summaryrefslogtreecommitdiffstats
path: root/lenovobios_firstflash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-09 04:54:51 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-09 04:54:51 (EST)
commitd6b7998acadd9dc087ab44a50bedd1995104ddbc (patch)
tree087d61d786c54f27d58e58ff4d82d287a4de57c5 /lenovobios_firstflash
parent7193d65809a841147097fb35866a7806f746b0f7 (diff)
downloadlibreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.zip
libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.gz
libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.bz2
Error checking
Add set -e -u -v to all scripts. flash, lenovobios_firstflash, lenovobios_secondflash and macbook21_firstflash only have -v set because these are expected to have errors powertop.trisquel6 has nothing added.
Diffstat (limited to 'lenovobios_firstflash')
-rwxr-xr-xlenovobios_firstflash4
1 files changed, 4 insertions, 0 deletions
diff --git a/lenovobios_firstflash b/lenovobios_firstflash
index a2a11a9..611abf4 100755
--- a/lenovobios_firstflash
+++ b/lenovobios_firstflash
@@ -18,6 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+## Don't add here. errors are expected.
+# set -u -e -v
+set -v
+
# USE ROOT OR SUDO WHEN EXECUTING THIS
# for T60 or X60 owners with Lenovo BIOS