Skip to content

Commit

Permalink
Update TerminalWidget.vala
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Aug 21, 2024
1 parent 4b6ca95 commit a9c69cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/TerminalWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit a9c69cb

Please sign in to comment.