aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/periodic
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-02-11 06:12:02 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-02-11 06:12:02 +0000
commite9104c31422d8a98f5039d19e8cdf230a4f0ba35 (patch)
treee1195dbe774e8fe72737a8d2adfbd61ae395ed8a /usr.sbin/periodic
parent9f7cca9218bd3439dfe79d53e4d6baea9ef7fa8b (diff)
Notes
Diffstat (limited to 'usr.sbin/periodic')
-rwxr-xr-xusr.sbin/periodic/etc/daily/200.backup-passwd2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/periodic/etc/daily/200.backup-passwd b/usr.sbin/periodic/etc/daily/200.backup-passwd
index 638e227e3ac5..1e9bb8964047 100755
--- a/usr.sbin/periodic/etc/daily/200.backup-passwd
+++ b/usr.sbin/periodic/etc/daily/200.backup-passwd
@@ -42,7 +42,7 @@ case "$daily_backup_passwd_enable" in
[ $rc -lt 1 ] && rc=1
echo "$host passwd diffs:"
diff -uI '^#' $bak/master.passwd.bak /etc/master.passwd |\
- sed 's/^\([-+ ][^-+:]*\):[^:]*:/\1:(password):/'
+ sed 's/^\([-+ ][^:]*\):[^:]*:/\1:(password):/'
mv $bak/master.passwd.bak $bak/master.passwd.bak2
cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3
fi