~michael-sheldon/ubuntu-touch-session/fix-1659388

« back to all changes in this revision

Viewing changes to ubuntu-touch-lightdm-session

  • Committer: Bileto Bot
  • Author(s): Michael Terry, Michael Terry
  • Date: 2016-12-06 13:46:30 UTC
  • mfrom: (289.3.6 pulse-in-snap)
  • Revision ID: ci-train-bot@canonical.com-20161206134630-cjla6sve2nc13zyh
Support running inside a snap (without breaking non-snap runs). (LP: #1629009, #1645797, #1645833)

Approved by: Łukasz Zemczak

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
if [ -n "$MIR_SOCKET" ]; then
8
8
    exec $@
9
9
else
10
 
    exec /usr/sbin/lightdm-session $@
 
10
    exec lightdm-session $@
11
11
fi