From a9c69cbebf9926beb9643cee1e36f25388d60a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Wed, 21 Aug 2024 10:48:41 -0700 Subject: [PATCH] Update TerminalWidget.vala --- src/Widgets/TerminalWidget.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/TerminalWidget.vala b/src/Widgets/TerminalWidget.vala index 873d9d11c1..e0a14589ff 100644 --- a/src/Widgets/TerminalWidget.vala +++ b/src/Widgets/TerminalWidget.vala @@ -492,7 +492,7 @@ namespace Terminal { if ("\n" in text) { warn_text = _("The pasted text may contain multiple commands"); - } else if ("sudo" in text) || ("doas" in text) { + } else if ("sudo" in text || "doas" in text) { warn_text = _("The pasted text may be trying to gain administrative access"); }