X-Git-Url: https://git.treefish.org/fex.git/blobdiff_plain/e60096926213ce02293a261254ff065cae44c1c8..cdeb354c4dbb11b683f9f8c5db2861f3dc572c61:/bin/fexwall diff --git a/bin/fexwall b/bin/fexwall index c632e15..09dec2e 100755 --- a/bin/fexwall +++ b/bin/fexwall @@ -42,7 +42,7 @@ our ($FEXHOME,$hostname,$sendmail,$spooldir,$admin,$bcc); # load common code, local config : $HOME/lib/fex.ph require "$FEXLIB/fex.pp" or die "$0: cannot load $FEXLIB/fex.pp - $!\n"; -die "$0: \$admin not configured in $FEXLIB/fex.ph\n" +die "$0: \$admin not configured in $FEXLIB/fex.ph\n" if not $admin or $admin =~ /example.org/; $opt_h = 0; @@ -83,7 +83,7 @@ foreach $group (glob "*/\@GROUP/*") { close $group; } } - + foreach $subuser (glob "*/\@SUBUSER") { if (open $subuser,$subuser) { while (<$subuser>) { @@ -94,7 +94,7 @@ foreach $subuser (glob "*/\@SUBUSER") { close $subuser; } } - + # @users = qw'framstag@fex'; die "$0: no users found\n" unless @users or grep /@/,@users; push @users,$bcc;