From: cgoesche Date: Sat, 5 Apr 2025 05:43:04 +0000 (-0400) Subject: more: fix broken ':!command' command key X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f3bb6f9103daaf7a8f47ebe57cbe90bac852e6e;p=thirdparty%2Futil-linux.git more: fix broken ':!command' command key Addresses: #3509 Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/text-utils/more.c b/text-utils/more.c index 92b257046..a38d9ed50 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -861,6 +861,9 @@ static struct number_command read_command(struct more_control *ctl) case 'p': cmd.key = more_kc_previous_file; return cmd; + case '!': + cmd.key = more_kc_run_shell; + return cmd; default: cmd.key = more_kc_unknown_command; return cmd;