aboutsummaryrefslogtreecommitdiff
path: root/libreboot
diff options
context:
space:
mode:
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}" "$@"