fix install script
This commit is contained in:
parent
7f11ba1b61
commit
ef8b1bbcb2
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ installtarget=/usr/local/bin
|
|||
chatlogdir=/var/log/bunkchat
|
||||
chatlog=chat.log
|
||||
|
||||
if ! [$(id -u) = 0]; then
|
||||
if ! [ "$(id -u)" = 0 ]; then
|
||||
echo "ERROR: please run install with root permission" >&2
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in a new issue