diff options
-rw-r--r-- | buildtools/wafsamba/samba_wildcard.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_wildcard.py b/buildtools/wafsamba/samba_wildcard.py index ecf3498c85..19f70efc92 100644 --- a/buildtools/wafsamba/samba_wildcard.py +++ b/buildtools/wafsamba/samba_wildcard.py @@ -30,7 +30,8 @@ def run_named_build_task(cmd): t.position= [0,0] print(t.display()) run_task(t, k) - return + found = True + if not found: raise Utils.WafError("Unable to find build target matching %s" % cmd) |