summaryrefslogtreecommitdiff
path: root/standalone/android
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-03 01:40:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-03 01:40:18 -0400
commit27c4a680b4776837b3b74bdb614e834aa6f6f61f (patch)
treef6e26f1885a584b74ae5788d12072946412a2769 /standalone/android
parentdde9840c55eb25f35f2ac4063c332bb9a9c298b8 (diff)
work around weird behavior when starting webapp not in shell
It seems to need nohup, or it segfaults on startup. I suspect the problem is the command that opens the web browser.
Diffstat (limited to 'standalone/android')
-rwxr-xr-xstandalone/android/runshell6
1 files changed, 4 insertions, 2 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell
index 0aa531433..3ff9617d7 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -110,8 +110,10 @@ run () {
# As good a start point as any.
cd "$HOME"
- $cmd echo "Starting webapp ..."
- $cmd nohup git annex webapp >/dev/null &
+ $cmd echo "Starting git-annex interface, please wait ..."
+ # For some reason this needs to run in the foreground.
+ $cmd nohup git annex webapp
+ $cmd echo "The git-annex interface is no longer running."
/system/bin/sh
fi
}