summarylogtreecommitdiffstats
path: root/mattermost.sh
diff options
context:
space:
mode:
authorMassimiliano Torromeo2016-05-15 18:44:04 +0200
committerMassimiliano Torromeo2016-05-15 18:44:04 +0200
commit46583183eacb823bbbea9d7412757c87cf5ab738 (patch)
tree02ccd1f69c28a7d3539d7aebe3eeec32210b7a5f /mattermost.sh
parent7ff279047179d838e93fd0133b27a4d29d225db1 (diff)
downloadaur-46583183eacb823bbbea9d7412757c87cf5ab738.tar.gz
Fixed wrapper script
Diffstat (limited to 'mattermost.sh')
-rw-r--r--mattermost.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.sh b/mattermost.sh
index 4de71d08f6ba..08b9ea965bb9 100644
--- a/mattermost.sh
+++ b/mattermost.sh
@@ -3,7 +3,7 @@ set -e
cd /usr/share/webapps/mattermost
-if [[ "$USER" = "mattermost" ]];
+if [[ "$USER" = "mattermost" ]]; then
exec bin/platform "$@"
else
exec sudo -u mattermost bin/platform "$@"