summaryrefslogtreecommitdiffstats
path: root/adduser
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1998-01-10 17:27:28 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1998-01-10 17:27:28 +0000
commit60d5f0528cad788fb9ef106888b9838986d607b6 (patch)
tree0d67c1516f52f853089203a0b4134d22e4457729 /adduser
parente208026aa2d22d004589525d997ba400462a2477 (diff)
downloadpw-darwin-60d5f0528cad788fb9ef106888b9838986d607b6.tar.gz
pw-darwin-60d5f0528cad788fb9ef106888b9838986d607b6.tar.zst
pw-darwin-60d5f0528cad788fb9ef106888b9838986d607b6.zip
Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblity
with BSD/OS.
Diffstat (limited to 'adduser')
-rw-r--r--adduser/adduser.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/adduser/adduser.perl b/adduser/adduser.perl
index 6730476..8e5dc53 100644
--- a/adduser/adduser.perl
+++ b/adduser/adduser.perl
@@ -24,7 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: adduser.perl,v 1.37 1997/09/20 19:59:54 wosch Exp $
+# $Id: adduser.perl,v 1.38 1997/12/24 11:44:14 wosch Exp $
# read variables
@@ -220,7 +220,7 @@ sub home_partition_valid {
# check for valid passwddb
sub passwd_check {
- system("$pwd_mkdb -c $etc_passwd");
+ system("$pwd_mkdb -C $etc_passwd");
die "\nInvalid $etc_passwd - cannot add any users!\n" if $?;
}