Wait for the browser to start opening
This commit is contained in:
parent
47f92b8365
commit
eaaea4d886
|
@ -77,6 +77,9 @@ case $sel in
|
||||||
echo $'Opening browser. Please wait...'
|
echo $'Opening browser. Please wait...'
|
||||||
pkill $BROWSER
|
pkill $BROWSER
|
||||||
setsid sh -c "$BROWSER $BROWSER_OPTIONS $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
|
setsid sh -c "$BROWSER $BROWSER_OPTIONS $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
|
||||||
|
|
||||||
|
# Need to wait a while for the browser to begin opening
|
||||||
|
sleep 3
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue