aboutsummaryrefslogtreecommitdiff
path: root/libreboot
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-07 18:41:00 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-07 18:41:00 -0400
commit81f7a7e0cc226ba94f644d1e7685c85067be1767 (patch)
treeef1f0ab184daa40ae0761e6de3427d3d597a7170 /libreboot
parente07fe644fb9d1cadb137a57d6aad836cfd6bef83 (diff)
downloadlibrebootfr-81f7a7e0cc226ba94f644d1e7685c85067be1767.tar.gz
librebootfr-81f7a7e0cc226ba94f644d1e7685c85067be1767.zip
Removed cruft & redundancy in project_action*()
Diffstat (limited to 'libreboot')
-rwxr-xr-xlibreboot4
1 files changed, 1 insertions, 3 deletions
diff --git a/libreboot b/libreboot
index c6464239..cb3e3831 100755
--- a/libreboot
+++ b/libreboot
@@ -100,9 +100,7 @@ libreboot_project() {
if ! project_function_check "${project}" "${action}"; then
libreboot_usage
exit 1
- fi
-
- if [[ "${action}" == "usage" ]]; then
+ elif [[ "${action}" == 'usage' ]]; then
project_action "${action}" "${project}" "$@"
else
project_action_arguments "${action}" "${project}" "$@"