rupert wrote:
> ISDIR=0
> # Let's check if /home/vmail/domain.tld/username exists
> `if [ -d "$VHOME/$USERDOMAIN/$ACCOUNT" ];then ISDIR="1"; fi`

Setting a variable in a child process has no effect. Try

`test -d "$VHOME/$USERDOMAIN/$ACCOUNT"`
if (!$RETURNCODE)
{
    ISDIR="1";
}


















































-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to