# HG changeset patch # User Christophe Lincoln # Date 1390590938 -3600 # Node ID bde0b2c5f23488490cb60da6095c10426e842b67 # Parent 65ad158a371ba1cf7a5bcddffcb07c52cb7cf443 Fix a typo and change a function name diff -r 65ad158a371b -r bde0b2c5f234 slish --- a/slish Thu Jan 23 23:23:25 2014 +0100 +++ b/slish Fri Jan 24 20:15:38 2014 +0100 @@ -107,7 +107,7 @@ } # Mail body. -user_mail() { +mail_new_account() { cat << EOT From: SliSH To: $mail @@ -177,7 +177,7 @@ # Send mail to notify user account creation if [ -x /usr/sbin/sendmail ]; then echo -n "Sending mail to: $mail" - user_mail | /usr/sbin/sendmail -f "shell@${domain}" "$mail" + mail_new_account | /usr/sbin/sendmail -f "shell@${domain}" "$mail" status fi separator && newline @@ -320,7 +320,7 @@ echo "Exiting from: $root" ;; -lq|list-queue) # Check online signup queue but do nothing - for user in $(ls ${queued}) + for user in $(ls ${queue}) do show_queued_user done