diff options
author | Swift Geek <swiftgeek@gmail.com> | 2019-02-22 06:14:44 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2019-02-22 06:14:44 +0000 |
commit | 02a3f5e4cfcdbb512360ab44ff077e7a2e30eb19 (patch) | |
tree | 2535f96870343234823a475171e9edfba5a76d21 /libs/tool | |
parent | f27fed3d49d09aa1dc0e2acd462fba48e6adbbe2 (diff) | |
parent | b552224354ba44e7a615e80b1f1173b015bbc832 (diff) | |
download | librebootfr-02a3f5e4cfcdbb512360ab44ff077e7a2e30eb19.tar.gz librebootfr-02a3f5e4cfcdbb512360ab44ff077e7a2e30eb19.zip |
Merge branch 'headers-footers' of and_who/libreboot into master
Diffstat (limited to 'libs/tool')
-rwxr-xr-x | libs/tool | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -97,19 +97,21 @@ tool_action() { return 0 fi - printf 1>&2 '%s\n' "Tool $tool $action (with ${arguments:-no argument})" + printf '%s\n' "Tool $tool $action (with ${arguments:-no argument})" ( set -e + "$action" "$@" ) if [[ $? -ne 0 ]] then printf 1>&2 '\n%s\n' "Tool $tool $action (with ${arguments:-no argument}) failed" + return 1 else - printf 1>&2 '\n%s\n' "Tool $tool $action (with ${arguments:-no argument}) completed" + printf '\n%s\n' "Tool $tool $action (with ${arguments:-no argument}) completed" fi ) } |