diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-07 15:18:56 -0200 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-07 15:18:56 -0200 |
commit | 5edcfb63ad387100eaa9c4ba83e01ca53dfdac15 (patch) | |
tree | 5d5c02d0c054b61f4e537d7ef7cf5eab0773d6ea /debian | |
parent | 9a8df480a57ad68153b9ac5e2d4017a9cbfb57f9 (diff) |
[#918] Adds exit status to post install script
Without `exit X` the scritp gets the exit status from last
command. So it was getting the exit status from
`systemctl -q is-active pixelated-server.service` when
pixelated-server wasn't running.
with @deniscostadsc
Diffstat (limited to 'debian')
-rw-r--r-- | debian/pixelated-user-agent.postinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/pixelated-user-agent.postinst b/debian/pixelated-user-agent.postinst index 78779e6a..8c68a5cf 100644 --- a/debian/pixelated-user-agent.postinst +++ b/debian/pixelated-user-agent.postinst @@ -5,3 +5,5 @@ export PATH=/bin:/usr/bin:/sbin:/usr/sbin if [ -d /run/systemd/system ]; then systemctl -q is-active pixelated-server.service && systemctl restart pixelated-server.service fi + +exit 0 |