CVS: ispman/bin ispman.addUser,1.4,1.5

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv5803

Modified Files:
	ispman.addUser 
Log Message:
adding exit if mailhost or filehost deletection fails

Index: ispman.addUser
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.addUser,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ispman.addUser	4 Oct 2003 02:19:05 -0000	1.4
--- ispman.addUser	4 Oct 2003 03:02:32 -0000	1.5
***************
*** 62,66 ****
--- 62,68 ----
           } else {
             # all failed. die with warning
+            print "Automatic detection for mailhost failed\n";
             print "Please either define a mailhost for this user or define\n-m none\n";
+            exit;
           }
  }
***************
*** 84,87 ****
--- 86,90 ----
             # all failed. die with warning
             print "Please either define a filehost for this user where the homedirectory should be created\n";
+            exit;
           }
  }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.