aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/project13
1 files changed, 6 insertions, 7 deletions
diff --git a/libs/project b/libs/project
index b130af17..2b6fc2fd 100755
--- a/libs/project
+++ b/libs/project
@@ -126,14 +126,13 @@ project_function_check() {
local project=$1
local function=$2
- project_include "$project"
-
- if ! function_check "$function"
- then
- return 1
- fi
+ (
+ project_include "$project"
- return 0
+ if ! function_check "$function"; then
+ exit 1
+ fi
+ )
}
project_action() {