diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-20 03:15:20 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-20 03:23:52 +0000 |
commit | a4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (patch) | |
tree | 1e15f2eaf4eb3541d14ab5d057a411b47604744e /flash | |
parent | 2fe82322b537e39fa6e5fbc9fb0242c2b9a93c26 (diff) | |
download | librebootfr-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.tar.gz librebootfr-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.zip |
bash scripts: Only enable verbose output if DEBUG= is used
Diffstat (limited to 'flash')
-rwxr-xr-x | flash | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,8 @@ # ## Don't add here. errors are expected. -# set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +# set -u -e if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" |