diff --git a/gclient.py b/gclient.py index 35e0597389..8d449c79a3 100755 --- a/gclient.py +++ b/gclient.py @@ -1724,6 +1724,8 @@ def CMDrecurse(parser, args): options.nohooks = True client = GClient.LoadCurrentConfig(options) + if not client: + raise gclient_utils.Error('client not configured; see \'gclient config\'') return client.RunOnDeps('recurse', args, ignore_requirements=True, progress=not options.no_progress)