[Pkg-osm-maint] Bug#578624: josm does not start via "josm & exit"

Alberto Fernández infjaf at gmail.com
Mon Oct 10 20:22:37 UTC 2011


It's the launcher script, not josm.
The echo command is failing if no console is available (or redirect to
somewhere).

if you put the echo commands this way
echo "message" || true 

all works fine.


if [ "$JAVACMD" ]; then
    echo "Using $JAVACMD to execute josm." || true
    exec $JAVACMD $JAVA_OPTS -jar /usr/share/josm/josm.jar "$@"
else
    echo "No valid JVM found to run JOSM." || true
    exit 1
fi







More information about the Pkg-osm-maint mailing list