diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-09-05 13:08:44 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-09-05 13:08:44 +0200 |
| commit | 2693c073d845487ac7ab32dfa6e39c395045b652 (patch) | |
| tree | 3fa82ed27697f54461c7386c50ad56358b9b9feb /tools | |
| parent | 1c1b1b2d74e15b6d9da9440995da9a689527c119 (diff) | |
upstart-prestart-check: return invalid values on failures
(bzr r4153.9.59)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/upstart-prestart-check | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/upstart-prestart-check b/tools/upstart-prestart-check index f6637dc44..39ed3e806 100644 --- a/tools/upstart-prestart-check +++ b/tools/upstart-prestart-check @@ -7,11 +7,13 @@ set -e if grep -q compiz /usr/share/gnome-session/sessions/ubuntu.session ; then echo "GNOME Session is starting Compiz" stop - exit 0 + exit 1 fi if (systemctl --user is-active unity7); then echo "Unity instance is managed by Systemd, ignoring request..." stop - exit 0 + exit 1 fi + +exit 0 |
