improve error message formatting
This commit is contained in:
parent
b61befa4ab
commit
530d6e0ba0
1 changed files with 2 additions and 1 deletions
|
@ -30,13 +30,14 @@ install() {
|
|||
chown root:root ${installtarget}/proclaim
|
||||
chown root:root ${installtarget}/heed
|
||||
chown root:root ${installtarget}/scry
|
||||
|
||||
echo
|
||||
echo "SUCCESS! bunkchat installed!"
|
||||
exit 0
|
||||
}
|
||||
|
||||
# check for root perms
|
||||
if ! [ "$(id -u)" = 0 ]; then
|
||||
echo
|
||||
echo "ERROR: please run install with root permission" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue