This commit is contained in:
Bob Mottram 2015-11-02 14:56:11 +00:00
parent 31316c3bf5
commit 6d0723933c
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ if grep -q "install_sip" $COMPLETION_FILE; then
SIP_EXTENSION=$(freedombone-sipfreeext)
freedombone-addsipuser -u $MY_USERNAME -e $SIP_EXTENSION -p "$NEW_USER_PASSWORD"
if [ ! "$?" = "0" ]; then
echo 'SIP user could not be added'
echo 'SIP user could not be added. Ensure that extension numbers are in order and do no exceed 299'
userdel -r $MY_USERNAME
exit 10
fi