summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2010-05-10 17:35:24 +0200
committerMikhail Voytenko <mav@openoffice.org>2010-05-10 17:35:24 +0200
commitc288dd322747e11a5c779f155ba39e799a9920c2 (patch)
tree27eaf38dae8f52ec2fd8a5ecfc282c729c00b40e /desktop/scripts
parentbe45f3f14b9f103e12ddc343f483086eff10011e (diff)
jl152: #i108704# allow to restart the office
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/soffice.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index ebbdeb9eabdb..fae9dbe4d695 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -120,9 +120,14 @@ trap 'kill -9 $!' TERM
wait $!
sd_ret=$?
-while [ $sd_ret -eq 79 ]
+while [ $sd_ret -eq 79 -o $sd_ret -eq 81 ]
do
- "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
+ if [ $sd_ret -eq 79 ]; then
+ "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
+ elif if [ $sd_ret -eq 81 ]; then
+ "$sd_prog/$sd_binary" "$@" &
+ fi
+
wait $!
sd_ret=$?
done