From 7a8207a3fbb93ddd2f9954f6ff1aedad043c47f1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 19 Dec 2013 21:27:09 +0100 Subject: options: use M_OPT_EXIT with -V Otherwise, output will actually be muted during pre-pase stage, and it will exit before running it again with output enabled. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index e3d13076f4..d828df6179 100644 --- a/options/options.c +++ b/options/options.c @@ -68,7 +68,7 @@ static int print_version_opt(const m_option_t *opt, const char *name, const char *param) { mp_print_version(true); - exit(0); + return M_OPT_EXIT; } #if HAVE_RADIO -- cgit v1.2.3