From 9715c92745ff67018515c475224716a23b01281e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 26 Feb 2025 11:10:14 +0800 Subject: [PATCH] gdctl: Fix runtime warning message grammar Part-of: --- tools/gdctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gdctl b/tools/gdctl index 6db452e96..f3b5194c5 100755 --- a/tools/gdctl +++ b/tools/gdctl @@ -1666,7 +1666,7 @@ if __name__ == "__main__": if e.domain == GLib.quark_to_string(Gio.DBusError.quark()): error_message = strip_dbus_error_prefix(e.message) print( - f"Failed retrieve current state: {error_message}", + f"Failed to retrieve current state: {error_message}", file=sys.stderr, ) sys.exit(1) @@ -1690,7 +1690,7 @@ if __name__ == "__main__": if e.domain == GLib.quark_to_string(Gio.DBusError.quark()): error_message = strip_dbus_error_prefix(e.message) print( - f"Failed retrieve current state: {error_message}", + f"Failed to retrieve current state: {error_message}", file=sys.stderr, ) sys.exit(1)