Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Upstart: Don't bail when something in the environment isn't right
  • Loading branch information
clefebvre committed Apr 3, 2015
1 parent 3edd202 commit ee1a28b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/mdm.upstart
Expand Up @@ -45,6 +45,9 @@ script
fi
fi

# Ignore errors temporarily (we don't want to fail if something in the environment isn't set properly
set +e

test -f /etc/profile && . /etc/profile

if [ -r /etc/default/locale ]; then
Expand All @@ -54,6 +57,8 @@ script
. /etc/environment
export LANG LANGUAGE LC_MESSAGES LC_ALL
fi

set -e

exec mdm
end script
Expand Down

0 comments on commit ee1a28b

Please sign in to comment.