Execute in background process libreoffice listener

* If listener is not started, script try to run it but can't continue processus
This commit is contained in:
cam.lafit 2014-01-06 19:25:25 +01:00
parent 555170e573
commit eb5b6efd40

View File

@ -22,7 +22,7 @@ if [ -f "$1.odt" ]
nbprocess=$(pgrep -c soffice)
if [ $nbprocess -ne 1 ]
then
soffice --invisible --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard --headless
soffice --invisible --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard --headless&
retcode=$?
if [ $retcode -ne 0 ]
then