I removed -X from less call. This is not in busybox less.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Peter John Hartman 2021-06-30 11:47:39 -05:00 committed by Stacy Harper
parent 7318e2b5cf
commit a2653f741d
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65

View file

@ -18,7 +18,7 @@ defaultconfig() {
(
printf "\e[31mThe file \e[32m%s\e[31m differs\e[0m\n" "$2"
smartdiff -ud "$2" "$1"
) | less -RXF
) | less -RF
printf "\e[33mDo you want to apply the default? [y/N]\e[0m "
read -r reply < /dev/tty
if [ "y" = "$reply" ]; then