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

New commits:
commit 8a12c89f8719dc8b46ab5d115ddaf9c8ad43a041
Author:     Renwa Hiwa <renwa...@gmail.com>
AuthorDate: Thu Feb 17 16:30:37 2022 +0000
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Mon Feb 21 15:10:59 2022 +0100

    Better handling of terminals
    
    LIBREOFFICE-3MQTR80G
    
    Change-Id: Ifa52d7f65aae473056202b46788c5870a8ce38c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130089
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    (cherry picked from commit fe0ccc2a1b03d848aa9f3378c1415461150d22c4)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130100
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/shell/source/unix/exec/shellexec.cxx 
b/shell/source/unix/exec/shellexec.cxx
index cdde6a81e02d..2535fbb18e7f 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -138,7 +138,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