alpine: fix bug in conditional expression (#108)
This commit is contained in:
parent
a83aab14b3
commit
6a2521f162
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "thelounge" -a "$(id -u)" = '0' ]; then
|
||||
if [ "$1" = "thelounge" ] && [ "$(id -u)" = '0' ]; then
|
||||
find "${THELOUNGE_HOME}" \! -user node -exec chown node '{}' +
|
||||
exec su node -c "$*"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue