summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/soffice.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index ad8e6efd4dd6..006f28d5250d 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -84,11 +84,10 @@ done
if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ "$no_oosplash" != "y" ] ; then
sd_binary="oosplash.bin"
- export QSTART_CHECK_ONLY=1
- if "$sd_prog/$sd_binary" -qsend-and-report $*; then
+ # try to connect to a running instance early
+ if "$sd_prog/$sd_binary" -qsend-and-report "$@" ; then
exit 0
fi
- unset QSTART_CHECK_ONLY
fi
# pagein