[Bug 305740] [NEW] compiz-decorator shell script needlessly keeps running after running decorator process

Launchpad Bug Tracker 305740 at bugs.launchpad.net
Thu Feb 17 09:47:39 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: compiz-core

The end of compiz-decorator looks like this:

if [ -n "$DECORATOR" ]; then
    verbose "Starting ${DECORATOR}\n"
    ${COMPIZ_BIN_PATH}$DECORATOR "$@"
else
    verbose "Found no decorator to start\n"
    exec $FALLBACKWM $FALLBACKWM_OPTIONS
fi

I think it could equally well look like this:

if [ -n "$DECORATOR" ]; then
    verbose "Starting ${DECORATOR}\n"
    exec ${COMPIZ_BIN_PATH}$DECORATOR "$@"
else
    verbose "Found no decorator to start\n"
    exec $FALLBACKWM $FALLBACKWM_OPTIONS
fi

and the shell process will be replaced with the compiz process as for
the fallback branch instead of continuing to run.

** Affects: compiz
     Importance: Unknown
         Status: Invalid

** Affects: compiz (Ubuntu)
     Importance: Low
     Assignee: Michael Vogt (mvo)
         Status: Fix Released

-- 
compiz-decorator shell script needlessly keeps running after running decorator process
https://bugs.launchpad.net/bugs/305740
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list