shell/source/unix/exec/shellexec.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f766c196fec6520540af58366f3190590e6e4d11
Author:     Renwa Hiwa <renwa...@gmail.com>
AuthorDate: Thu Feb 17 16:30:37 2022 +0000
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Feb 18 12:31:51 2022 +0100

    Better handling of terminals
    
    LIBREOFFICE-3MQTR80G
    
    Change-Id: Ifa52d7f65aae473056202b46788c5870a8ce38c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130090
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/shell/source/unix/exec/shellexec.cxx 
b/shell/source/unix/exec/shellexec.cxx
index 9e26cc64b385..49b6ef1d0761 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -139,7 +139,8 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, 
const OUString& aPar
             } else if (pathname.endsWithIgnoreAsciiCase(".class")
                        || pathname.endsWithIgnoreAsciiCase(".fileloc")
                        || pathname.endsWithIgnoreAsciiCase(".inetloc")
-                       || pathname.endsWithIgnoreAsciiCase(".jar"))
+                       || pathname.endsWithIgnoreAsciiCase(".jar")
+                       || pathname.endsWithIgnoreAsciiCase(".terminal"))
             {
                 dir = true;
             }

Reply via email to