diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2000-12-17 22:35:20 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2000-12-17 22:35:20 +0000 |
commit | f45cf7d3d6e0ceffa6a8a281eaacfd2592559f40 (patch) | |
tree | d0ca6538b98bf367c0805814742f878dd146dd71 | |
parent | 2ea18f1e1708c813a4b3e0c3a4a2a752dc487bd1 (diff) |
Todd, Aaron, Dug, and me all prefer unidiff
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index c15a2c6c41d..5b940eea815 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.41 2000/10/20 16:27:16 millert Exp $ +# $OpenBSD: security,v 1.42 2000/12/17 22:35:19 marc Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -644,9 +644,9 @@ if [ -s /etc/changelist ] ; then BACK=/var/backups/$(_fnchg "$file").backup if [ -s $file -a ! -d $file ] ; then if [ -s $CUR ] ; then - diff $CUR $file > $OUTPUT + diff -u $CUR $file > $OUTPUT if [ -s $OUTPUT ] ; then - echo "\n======\n${file} diffs (OLD < > NEW)\n======" + echo "\n======\n${file} diffs (-OLD +NEW)\n======" cat $OUTPUT cp -p $CUR $BACK cp -p $file $CUR |