aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/mconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index f174425..67f2a91 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -182,7 +182,7 @@ class Conf:
def run(args):
args = mesonlib.expand_arguments(args)
if not args:
- sys.exit(1)
+ args = [os.getcwd()]
options = parser.parse_args(args)
if len(options.directory) > 1:
print('%s <build directory>' % args[0])