Comment 34 for bug 557177

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 557177] Re: init: support mandatory arguments, or prevent starting of tasks without any arguments

On Thu, 2010-04-08 at 23:17 +0000, dedded wrote:

> Is there any possibility that this script, as patched, still fails
> catastrophically if MOUNTPOINT is defined to a non-existent directory,
> or if /tmp doesn't exist?
>
The "cd ${MOUNTPOINT}" will fail, and the script will exit; that's why
it's written to do that, rather than assume that the mountpoint exists.

Upstart runs all shell scripts with "set -e" by default

Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?