]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: fix implicit previous shell_line execution #3508
authorcgoesche <cgoesc2@wgu.edu>
Sat, 5 Apr 2025 05:29:35 +0000 (01:29 -0400)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2025 12:14:33 +0000 (14:14 +0200)
commit250f1fc717dd13b040d30b2c0d9b67944867d343
tree29cca641b7d6d7071c0b570e8856d884cbab5d25
parentf997901f8c5e753c483d01b7b36a7e5c77a210f8
more: fix implicit previous shell_line execution #3508

run_shell() will implicitly execute the previous ctl->shell_line
not only if the function was indirectly invoked by the '.' command
but also by a subsequent '!' command.

Addresses: #3508
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
(cherry picked from commit b6f9362988dbe5427d52b31ac3add37a7ddb6b12)
text-utils/more.c