From 42124d4ffb0245c096283612941e424ec44246e9 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 15 Dec 2020 18:34:16 +0000
Subject: [PATCH] pressure-vessel: Clarify a debug message

If we're going to run the -launcher, then argv[1...] are the arguments
for -launcher, not an argv array in their own right.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 pressure-vessel/wrap.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pressure-vessel/wrap.c b/pressure-vessel/wrap.c
index 9c81f175c..9baa01c3d 100644
--- a/pressure-vessel/wrap.c
+++ b/pressure-vessel/wrap.c
@@ -1572,7 +1572,10 @@ main (int argc,
           g_message ("\t%s", quoted);
         }
 
-      g_message ("Wrapped command:");
+      if (opt_launcher)
+        g_message ("Arguments for pv-launcher:");
+      else
+        g_message ("Wrapped command:");
 
       for (i = 1; i < argc; i++)
         {
-- 
GitLab