summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRenwa Hiwa <renwax23@gmail.com>2022-02-17 16:30:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-17 19:43:46 +0100
commit7d92ec5ae18fdec8a3182b1138a62b65e2d14c10 (patch)
tree8b97d620dea04475d5cfb5f2b4b41fae1fcea973 /shell
parentbe13ca182d7b0b59ad0c9509200cfdc45bd15cf2 (diff)
Better handling of terminals
LIBREOFFICE-3MQTR80G Change-Id: Ifa52d7f65aae473056202b46788c5870a8ce38c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130085 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
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 e3d4308df78f..ada512b47ba3 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -146,7 +146,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;
}