From: megacz Date: Sun, 21 Oct 2007 06:32:33 +0000 (+0000) Subject: send mail from within a pagsh so tokens are not lost X-Git-Url: http://git.hcoop.net/clinton/scripts.git/commitdiff_plain/3608cf66a5728dcd2e9d7729da97a6bfb63be649 send mail from within a pagsh so tokens are not lost --- diff --git a/create-user b/create-user index 6474841..4624cce 100755 --- a/create-user +++ b/create-user @@ -220,7 +220,7 @@ done if test $NOTIFY = yes; then # This is probably going overboard, but oh well echo "$USER needs assistance on their shared spam dir" | \ - mail -s "[create-user] $USER needs assistance" \ + pagsh -c mail -s "[create-user] $USER needs assistance" \ -e -a "From: admins@deleuze.hcoop.net" mwolson_admin fi