[vlma-devel] commit: Don't use nohup by default with VLMad. (Adrien Grand )

git version control git at videolan.org
Thu Aug 21 23:14:15 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Thu Aug 21 23:13:46 2008 +0200| [231e9e5ee56590cc72df3c10864c67713a361a18] | committer: Adrien Grand 

Don't use nohup by default with VLMad.

It currently prevents error messages from being printed to stdout.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=231e9e5ee56590cc72df3c10864c67713a361a18
---

 vlma-distribution/src/bin/vlmad |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/vlma-distribution/src/bin/vlmad b/vlma-distribution/src/bin/vlmad
index c1efc75..c668e46 100644
--- a/vlma-distribution/src/bin/vlmad
+++ b/vlma-distribution/src/bin/vlmad
@@ -47,9 +47,4 @@ VLMA_OPTS="$VLMA_OPTS\
 
 # Run VLMad
 OPTS="$VLMA_OPTS $JAVA_OPTS org.videolan.vlma.daemon.VLMad $COMMAND"
-if [ "$COMMAND" = "start" ]
-then
-    exec nohup $JAVA $OPTS < /dev/null > /dev/null 2>&1 &
-else
-    exec $JAVA $OPTS
-fi
+exec $JAVA $OPTS



More information about the vlma-devel mailing list