summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2011-05-12 05:13:43 +0000
committerlum <lum@cvs.openbsd.org>2011-05-12 05:13:43 +0000
commit293867e71ed9047108d998f6c0571ad2bd724c4f (patch)
tree1cc6110c85f9a3a6912396f647f6ff5eddb1bf45 /usr.sbin/adduser
parent2738e3bb29bd9e8a6234dc538b2cb1e5d824e2d7 (diff)
Preferably we would have "use warnings;" but never-the-less a small booboo
by me. Fortunatley no side-effects.
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index cb3cee28e60..78ef393b64b 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/adduser/adduser.perl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: adduser.perl,v 1.54 2011/05/11 08:18:43 lum Exp $
+# $OpenBSD: adduser.perl,v 1.55 2011/05/12 05:13:42 lum Exp $
#
# Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
# All rights reserved.
@@ -90,7 +90,7 @@ sub variables {
$etc_login_conf = "/etc/login.conf";
@pwd_mkdb = ("pwd_mkdb", "-p"); # program for building passwd database
$encryptionmethod = "auto";
- $rcsid = '$OpenBSD: adduser.perl,v 1.54 2011/05/11 08:18:43 lum Exp $';
+ $rcsid = '$OpenBSD: adduser.perl,v 1.55 2011/05/12 05:13:42 lum Exp $';
# List of directories where shells located
@path = ('/bin', '/usr/bin', '/usr/local/bin');
@@ -1394,11 +1394,11 @@ sub message_default {
}
if (&message_create($message_file)) {
print "Message file ``$message_file'' overwritten\n"
- if verbose;
+ if $verbose;
}
} else {
if (&message_create($message_file)) {
- print "Message file ``$message_file'' created\n" if verbose;
+ print "Message file ``$message_file'' created\n" if $verbose;
}
}