From c90e00018f84f030667a23e696586cad66d370f9 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 21 Sep 2020 12:25:48 +0200 Subject: [PATCH] crun: enable warnings with --debug Signed-off-by: Giuseppe Scrivano --- src/crun.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crun.c b/src/crun.c index 05fbed3ecf..fd7845efcb 100644 --- a/src/crun.c +++ b/src/crun.c @@ -301,6 +301,9 @@ main (int argc, char **argv) if (command == NULL) libcrun_fail_with_error (0, "unknown command %s", argv[first_argument]); + if (arguments.debug) + libcrun_set_verbosity (LIBCRUN_VERBOSITY_WARNING); + ret = command->handler (&arguments, argc - first_argument, argv + first_argument, &err); if (ret && err) libcrun_fail_with_error (err->status, "%s", err->msg);