summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRenwa Hiwa <renwax23@gmail.com>2022-02-17 16:30:37 +0000
committerAndras Timar <andras.timar@collabora.com>2022-02-18 12:35:45 +0100
commit1432b56c5b85eb70b88ed250a84f2d1fdd0ac9b8 (patch)
tree275607fcf9c59823e1770dd7c2a19baa9dbef425 /shell
parent7f89bda5c3e57fd4234004765e9bfa3ce7499e32 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/exec/shellexec.cxx3
1 files changed, 2 insertions, 1 deletions
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;
}